Questions tagged with Amazon EC2

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

After completion of Reverse replication in case of Cross Region failback, launching of recovery instance failed with below mentioned error: ``` Error: An error occurred (VPCIdNotSpecified) when calling the RunInstances operation: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC. ``` How should I fix it? You help is appreciated. Thank you.
0
answers
0
votes
14
views
asked 2 days ago
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.
0
answers
0
votes
19
views
asked 3 days ago
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.
0
answers
0
votes
6
views
Dhrupal
asked 3 days ago
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?
0
answers
0
votes
6
views
asked 3 days ago
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.
1
answers
0
votes
5
views
Kobster
asked 3 days ago
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
1
answers
0
votes
13
views
asked 3 days ago
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.
1
answers
0
votes
21
views
asked 3 days ago
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
1
answers
0
votes
13
views
asked 3 days ago
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!
2
answers
0
votes
36
views
asked 3 days ago
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?
1
answers
0
votes
15
views
asked 3 days ago
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?
1
answers
0
votes
15
views
asked 3 days ago
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?
1
answers
0
votes
32
views
asked 3 days ago