amazon-ec2 Questions

3

Solved

I am storing users' code in file system, at present EBS in AWS. I am looking improving the availability and want to reduce the chances of outage due to EBS going down. EFS appears to be a reasonabl...
Endowment asked 3/11, 2016 at 6:19

2

Solved

I'm looking for a redundancy solution for EBS. Ideally we would have an EBS volume in each AZ - in something similar to a master-slave configuration. Upon the failure of the primary EBS volume, all...
Gaming asked 31/1, 2019 at 22:10

6

Given I have the following config file: [default] aws_access_key_id=default_access_key aws_secret_access_key=default_secret_key [profile testing] aws_access_key_id=testing_access_key aws_secret_a...
Upset asked 4/11, 2016 at 5:36

11

I am unable to perform sudo apt-get update on by Ubuntu EC2 instance. When I run - sudo apt-get update I get the below error:- Err:1 http://eu-central-1.ec2.archive.ubuntu.com/ubuntu bionic InR...
Radioman asked 3/5, 2019 at 11:32

4

Solved

I have a cloud-init file that sets up all requirements for our AWS instances, and part of those requirements is formating and mounting an EBS volume. The issue is that on some instances volume atta...
Oidium asked 25/9, 2020 at 22:15

6

Solved

Context I am using the https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin for jenkins which allows me to dynamically provision new cloud instances as build slaves in AWS EC2. I am launchin...
Susceptive asked 23/4, 2018 at 12:7

7

Solved

I have an AWS EC2 that is just for keeping my Next.js client side running (there is no backend for it right now). Currently if I go into the terminal and enter npm run develop, the site runs perfec...
Crayon asked 14/12, 2021 at 17:5

5

Solved

Trying to connect Amazon AWS EC2 instance fails. Platform: Amazon Linux Connection method: EC2 Instance Connect (browser-based SSH connection) Error: There was a problem setting up the instance...
Aromatize asked 6/2, 2020 at 20:55

2

Solved

After navigating to Menu > EC2 > Load Balancing > Load Balancers, I found that an important load balancer I inherited was named "testing", where it should be named something more meaningful for fut...
Unlatch asked 25/4, 2016 at 17:1

2

Solved

I'm launching a Windows 10 EC2 instance and trying to retrieve it's instance-id from the CMD with the command: curl http://169.254.169.254/latest/meta-data/instance-id This worked until yesterda...
Alanis asked 26/12, 2019 at 21:38

4

Hi need to transfer a file to ec2 machine via ssm agent. I have successfully installed ssm-agent in ec2 instances and from UI i am able to start session via "session-manager" and login to...
Holystone asked 26/11, 2020 at 7:25

3

I recently read about the new Instance Metadata Service - IMDSv2 that fixes SSRF attacks in an EC2 environment. I understand how it works when I directly use EC2 over the cli. But I couldn't find a...

1

Solved

I have a load-balanced EC2 instance that hosts a web API that I am trying to use AWS CodeDeploy to deploy new versions of the API with. I am trying to make use of a blue/green deployment style, whe...

6

Solved

So I am trying to run ansible on my ec2 instances on aws, for the first time on a fresh instance, but every time I try to run a play I can't get around this error message: PLAY [localhost] *******...
Anadromous asked 2/3, 2016 at 13:28

3

I'm having difficulty figuring out a way (if possible) to create a new AWS keypair with the Python Boto library and then download that keypair.
Parley asked 25/7, 2012 at 21:2

4

I have an ECS cluster consisting of 2 instances in different AZ. One of the many services I run is a SMTP relay. I want to use a Network Load Balancer in front of this service to easily configure o...
Precipitant asked 13/11, 2017 at 20:0

7

Solved

I'm facing an annoying problem. It's been pretty frustrating. I am using a computer at my school to work on the Coursera Startup class. I am trying to connect to an Amazon EC2 instance. I downloade...
Clobber asked 22/6, 2013 at 21:11

5

I lost the PEM key to the EC2 Instance. I followed all the following steps: HOW TO ACCESS EC2 INSTANCE EVEN IF PEM FILE IS LOST Accessing the EC2 instance even if you loose the pem file is rather...
Domett asked 28/9, 2018 at 17:22

7

Solved

I'm using the AWS Two-tier example and I've direct copy-n-pasted the whole thing. terraform apply works right up to where it tries to SSH into the created EC2 instance. It loops several times givin...
Autograph asked 13/2, 2016 at 14:42

1

Whenever I try to update my EC2 instance, I get the following error: Loaded plugins: priorities, update-motd, upgrade-helper amzn-main | 2.1 kB 00:00:00 amzn-updates | 2.5 kB 00:00:00 817 packages...
Forsythe asked 30/1, 2019 at 0:52

30

Solved

I am using Amazon's tutorial for installing a LAMP server. The first several instructions involve using yum, but every single way I have tried to do it has resulted in the same message. I have foun...
Chutney asked 29/12, 2013 at 4:1

2

Solved

I'm trying to get down and dirty with DevOps and I'm running into a health check request timed out failure. The problem is my Elastic Load Balancer sends a health check to my EC2 instance and gets ...

4

Solved

I have launched two EC2 instances in two availability zones and I need to mount the EFS in both the instances using Terraform. resource "aws_efs_file_system" "magento-efs" { cr...

7

Solved

I'm trying to connect Postgres Database on AWS EC2 instance to Microsoft PowerBI. I tried various method available on internet but its showing the above error. Although I've done this connection on...
Vallo asked 25/12, 2018 at 10:10

5

Solved

My AWS reserved instance t2.micro is going to expire. I decided to upgrade to t2.small, and have just bought a new reserved instance t2.small, as shown below. Now, how do I switch from t2.micro ...
Cheddite asked 28/4, 2017 at 23:40

© 2022 - 2025 — McMap. All rights reserved.