I have 50-60 aws instances running behind an ALB in AWS. I can get the total request count in the cloudwatch monitoring section, but is there anyway I can get to know how many requests are actually being directed to each instances from the ALB in real time.
Arjun Prasad's questions
I have my production EC2 instances inside a VPC and to get the data from S3 we used provide the S3 url. Till now the data flow was through the internet and I have implement VPC endpoints to redirect the data flow within the VPC inorder to make it secure and reduce cost.
I have configured my VPC endpoints but my security groups are not listing it in the normal security groups page in EC2 tab. I have to navigate to VPC tab and then security groups to identify the endpoint.
Is there a difference between EC2 security group and the security group in VPC?
Please see the 2 security group images below
I have some json and python configuration files in my aws environment which needs to be edited or modified on a daily basis. My intention is to write a job in jenkins which can pull the current file from the server and use an editor to make the changes and then upload the file back to the server. Is this possible at all through jenkins?
Or I can pull the file from S3 bucket and then make the changes and upload back to s3.
I have a requirement to add my AWS access key and secret key in a set of servers (more than 100). I am trying to automate this process. The only way I have now is to create a .aws directory for the user and copy the aws credentials and config file to that directory.
Is there anyway else we can do this?
I have my domain name regsitered in Godaddy. I have my servers in AWS. We use a public ELB to redirect traffic to our webservers inside a VPC in a public subnet. I want to point one of my subdomain name to the elastic loadbalancer endpoint and I want to do it in Godaddy itself and not route53.
I know I cant point my elb endpoint to an A record, What can I do to point my subdomain name to an ELB endpoint in Godaddy?
My main domain name is pointed to a different site. So I cant use it.
I have set up a daily backup script in my aws china instance which uploads my required files to be backed-up to s3 bucket. I have a restoration script which uses s3api to restore the objects to the instances.
The command used to get the file is aws s3api get-object, but I get the following error once I run the command.
A client error (MethodNotAllowed) occurred when calling the GetObject operation: The specified method is not allowed against this resource.
When I use the same command to restore a file in the AWS US East environment, I can restore the file , but cant do the same in the China environment.
I used a similar command aws s3api list-objects which lists out the objects in my bucket. This is working in the US as well as china environment.
I'm confused as to why I can list my objects but cant use the get operation.