All Questions
92
questions
0
votes
1
answer
720
views
Vagrant : how to create a box from aws ami?
I see vagrant as a great tool for testing and I am surprised the aws plugin (here https://github.com/mitchellh/vagrant-aws but which seems deprecated) is here to instanciate ec2 and not copy same ...
0
votes
1
answer
507
views
aws ec2 instance AMI backup with reboot
Can we start using the ec2 instance, if ec2 instance AMI backup with reboot option is used and AMI backup is still in process, But the ec2 instance came up after reboot?
0
votes
0
answers
160
views
Launch new EC2 instance using shared private AWS AMI
I have a website running on t2.micro ec2 server (A). While it is running I created its AMI and shared it with another AWS account B.
I went to the B AWS account and tried to launch an EC2 instance ...
0
votes
0
answers
526
views
Create Windows 10 AMI for EC2 AWS
I have case to create AMI based on windows 10 OS, the AMI file will be used on AWS ec2 to run some our 3rd party programs for client. I have tried to follow several tutorial and guidelines from google ...
1
vote
1
answer
4k
views
How to update the AMI of the instance without loosing data? and the instance has two EBS volumes which EBS volume should i take snapshot?
How to update the AMI of the instance without loosing data? and the instance has two EBS volumes (root and secondary) which EBS volume should i take snapshot? to replicate the original instance.
0
votes
0
answers
82
views
Accidentally executed: sudo rm -r /* [duplicate]
This morning while I was doing a bit of work on my production server, when I accidentally executed the following command:
sudo rm -r /*
Sadly, the server no longer accept my public key or password ...
2
votes
1
answer
2k
views
How to install OpenGL on Amazon Linux 2 AMI t2.small type?
I need to install Grass GIS on my Amazon Linux 2 AMI instance which is of type t2.small During the configuration of Grass GIS it stopped with
checking for GL/gl.h... no
configure: error: *** Unable ...
0
votes
0
answers
259
views
How to create my own EC2 AMI with a custom distro and a custom kernel?
I would like to create my own custom AMI with its own custom kernel running on a HVM instance.
At first I thought this is a solved problem as I've seen several solution out there, (packer, aminate),
...
1
vote
2
answers
3k
views
Instance does not have a volume attached at root
I recently started trying out EC2 servers and came across an issue when trying to get an instance back up from a snapshot (which is another odd issue I had, because you can't change root snapshots in ...
1
vote
3
answers
1k
views
AWS ubuntu image has no swap with kernel 5.x
Just built a new AMI recently, based on the latest 18.04. Did also an apt upgrade when provisioning it, in order to have the latest packages as well.
Problem is that this new AMI has no swapfile in it,...
1
vote
3
answers
1k
views
Best way to create temporary windows ec2 instances with pre installed apps?
I use windows ec2 instances and I need 2-3 tools which I need to install. I ocassionally need 20-40gb hard disk for processing and I always know what HDD size I want before lauching the instance and I ...
0
votes
2
answers
133
views
Production level Auto-scaling in AWS
I have completely understood the concept of Auto-Scaling in AWS. My only question is, what AMI will the launch configuration use while in production environment?
According to my understanding Image ...
2
votes
1
answer
529
views
For AWS EC2, AMI Backup. when doing backup does the server itself stop or suspend?
I need to do an AMI backup from one of our EC2 server,
my concern is, if during AMI backup. do the server stop or suspend?
or the server does the AMI backup without any interruption at all?
3
votes
2
answers
4k
views
Amazon Linux AMI or Ubuntu/others in AWS ecosystem? [closed]
I’m going to install a new server and want to understand if there is any advantage in installing the Amazon Linux AMI in comparation to Ubuntu or another distribution.
This server will be consuming ...
0
votes
1
answer
347
views
Creating an AMI is not copying sshd file settings
I have user and password auth configured for my instances but every one I launch I have to do this at startup:
#!/bin/bash
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/...