Questions tagged with Amazon EC2
Content language: English
Sort by most recent
Hi, I have a instance EC2 associate with a EBS volumen, this instance was stopped but the used disk size keeps increasing.
I don't understand why the used volume size keeps increasing if the instance was stopped.
Thanks.
Is this compulsory that we have to use linux for EC2 connection, because in window its showing connection error..
can anybody help to do this task?
I am new on AWS so i didn't understand.
Why this question?
If `eb deploy` does change the IP address of ec2 instance then it is okay to use `eb ssh` and then select the instance number or id, depending upon how many instances are there in a single environment.
If not, why not just directly `ssh -i <key.pem> ec2-user@<instance-ip>`
Am I missing something here?
Is there an API call you can make that gives you the state capacity (used/available) of the bucket (capacity and refill rate). CloudWatch monitors failures (RequestLimitExceeded) but only once you exceeded the limit, so you can be at the 99% mark and see zero failures and then pass it without noticing.
Please open my port 25 aws EC2 instance in my account my account Gmail is abrormuxtorov394@gmail.com
My Elastic IP Information 13.48.51.229
I used AWS briefly and may use it again. However, for now I want to get rid of all my AWS services and not be charged until I need it again. I have deleted/removed every EC2 machine that i had. Every month I get charged about $0.40 and the description is just "EC2-other". I have no idea what else to remove. How can I stop these charges? I would prefer not to delete my account.
Hi Guys,
I deployed my java app on EC2 and here I am doing call to Amazon Cognito in order to push user data. So I am getting below error,
`Profile file contained no credentials for profile 'default': ProfileFile(profiles=[])". When you are trying the same on your local machine its working fine`
My understanding was If I gave IAM role(CognitoSuperUser) which has permission for Cognito to Ec2, I don't have to put credentials in EC2 profile file. Am I wrong?
will not EC2 be able to allow calling to Cognito without any configuration? Like I do call to S3 from Ec2 by allowing permission in the IAM role that assigned Ec2.
This is the way I create client to call. is there any other way to make call instead of **ProfileCredentialsProvider**
```
this.cognitoClient = CognitoIdentityProviderClient.builder()
.region(Region.US_EAST_2)
.credentialsProvider(ProfileCredentialsProvider.create())
.build();
```
Thanks
I'd appreciate any help you can provide with this as I'm stumped, and I'm sure I'm missing something.
I have a site to site VPN set up and I can confirm it's connect to our on-premises router (DrayTek 3900).
The VPN has a transit gateway, customer gateway and static routing.
I've set up a new EC2 instance with it's own VPC and I can access it via it's public IP address, and it can access the internet.
I do not understand how I enable this EC2 instance to route traffic over the VPN to on-prem and vice versa? I need to be able to share resources between the EC2 instance and on-premise network.
Thanks in advance for any help you can provide!
Good afternoon folks,
We have an AWS EC2 instance configured as a Commvault VSA proxy which needs to read and write from multiple S3 buckets.
A S3 gateway endpoint has been configured as per best practice so all communications between the EC2 instance and S3.
We have noticed (and confirmed by Commvault) that the EC2 write speeds to S3 appears to be limited to approx. 30MB compared to the read speeds which fluctuate between 300MB to 800MB.
Commvault have checked over our setup and have confirmed our performance issue is NOT a Commvault issue - it appears to be a S3 bottleneck
Are there any S3 restrictions in terms of write performance?
I am trying to create and EC2 instance and in Network settings I am supposed to pick the default VPC selection but there no VPC onthe drop down, it was blank. I decided to create a default VPC but now I also have no subnet in the dropdown but cannot create one. How do I rectify this?
The following is the timeline of the events:
1. Private NLB is created across 4 AZs, 3 of them populated with EC2 instances which are part of the NLB's target groups.
2. Over time, the pool of instances shrinks down to occupy a single AZ.
3. Sometime later, we notice that the NLB's DNS record now resolves to a single A record pointing to an IP within the same AZ as the one containing the EC2 instances. This seems unusual, because NLB's private IPs are supposed to remain static after the LBs creation [as I've confirmed in this re:Post question](https://repost.aws/questions/QU3ym83kIyQyCJVIgtFsqf2Q/are-nl-bs-private-i-ps-subject-to-change-over-its-lifetime)
4. New EC2 instances are brought up in other AZs and are added to the NLBs target groups. The LB does not adjust to this by adding new IPs in these AZs; it continues to resolve to a single A record.
So my questions related to the timeline above are:
1. Is the disappearance of previously attached IPs an expected part of the NLBs lifecycle? How does this square with the statement about NLB's private IPs being static?
2. Should I expect this NLB to remediate and add in private IPs across newly occupied AZs?
3. If all instances in the same AZ as the NLB's last remaining IP are taken down, will this NLB continue to sending traffic to the other instances if I keep cross-zone load balancing turned off?
I'm trying to install code deploy agent. As prerequisite code deploy requires ruby. When i tried to install ruby using this command yum install ruby it has 3.2 version. but code deploy agent do not support 3.2. Is there any other way to install code deploy agent.