amazon-ami

AWS Opworks Instances not starting when created from Custom AMI on EC2

杀马特。学长 韩版系。学妹 提交于 2019-12-23 04:22:08
问题 According to AWS documentation you can create a Custom AMI two different ways. http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html I'm creating my AMI directly from an EC2 instance so the OPworks Agent should NOT be there. Nevertheless instances created with my AMI would NOT get pass the setup stage. Does anyone knows why this is? Update: Here's some more information. If you look at the article above it says to stop the OPworks agent etc. Well I logged into

How do I save an AMI to a S3 bucket?

北慕城南 提交于 2019-12-21 07:12:03
问题 I've created an AMI(EBS AMI) using the Amazon AWS console. That AMI has 2 snapshots attached to it. Now I want to backup that AMI to a S3 bucket. Is this possible? I actually need to do this to be able to then move that AMI to a bucket in a different region and register that AMI for use in that different region. Any clues? 回答1: Update My initial answer still applies concerning the question as such (see below), however, given you actually need to do this to be able to then move that AMI to [..

How do I save an AMI to a S3 bucket?

折月煮酒 提交于 2019-12-21 07:11:42
问题 I've created an AMI(EBS AMI) using the Amazon AWS console. That AMI has 2 snapshots attached to it. Now I want to backup that AMI to a S3 bucket. Is this possible? I actually need to do this to be able to then move that AMI to a bucket in a different region and register that AMI for use in that different region. Any clues? 回答1: Update My initial answer still applies concerning the question as such (see below), however, given you actually need to do this to be able to then move that AMI to [..

Customizing an Elastic Beanstalk AMI

有些话、适合烂在心里 提交于 2019-12-20 20:37:53
问题 I need to use on Elastic Beanstalk a Java application written for Glassfish server. Beacuse of Amazon doesn't let me choose an AMI with Glassfish, I choosed one with Tomcat and i modified my application to work properly on Tomcat. Now, I've seen I also needed to use a Sun JDK, while by default Elastic Beanstalk AMI comes with openjdk. I googled a lot, finding some (not so many resources) interesting posts like this answer on StackOverflow What I can't understand is this part of the answer:

How to setup automatic scheduled snapshots for each single AMI/EBS?

丶灬走出姿态 提交于 2019-12-20 20:31:10
问题 Does Amazon support any kind of automatic scheduled snapshots that can be configured for each single AMI/EBS? my goal is to have each AMI backup itself regularly without relying on external scripts and similar. 回答1: You can use the AWS command-line tools to automate EBS snapshots. Just schedule a cron job or similar to run ec2-create-snapshot command at the desired interval on your ebs volume. You can also make API calls over http to do the same thing, if you don't want to install the command

Setting up Supervisord on a AWS AMI Linux Server [closed]

六月ゝ 毕业季﹏ 提交于 2019-12-20 08:22:27
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 months ago . I'm trying to get supervisor working to make sure my queue system is always running. Here are the steps I took, which I pieced together from various sources: (Ran as root or super user) 1) $ easy_install supervisor 2) $ echo_supervisord_conf > /etc/supervisord.conf 3) $ sudo vi supervisord.conf 4) Pasted the

Instance Store AMI from a customized EBS-backed instance

我的梦境 提交于 2019-12-13 15:51:29
问题 Sorry if this supposed to be easily understood from the docs, but I didn't - if I spin up an EC2 instance using one of the easily available Ubuntu EBS-boot AMI's, install a bunch of stuff and move some files around under "/", and then I create an Instance-Store AMI using ec2-bundle-vol , will the data that was actually residing on the EBS volume mounted at "/" make it into the AMI? Considering that from a user point-of-view, I would expect to find the same things under "/" in a future spin-up

Is there an Ansible module for creating 'instance-store' based AMI's?

独自空忆成欢 提交于 2019-12-13 06:45:24
问题 Creating AMI's from EBS backed instances is exceedingly easy, but doing the same from an instance-store based instance seems like it can only be done manually using the CLI. So far I've been able to bootstrap the creation of an 'instance-store' based server off of an HVM Amazon Linux AMI with Ansible, but I'm getting lost on the steps that follow... I'm trying to follow this: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-instance-store-ami.html#amazon_linux_instructions Apparently

How do I bulk copy AMI AWS account number permissions from one AMI image to another?

Deadly 提交于 2019-12-13 01:27:12
问题 I have an AMI image which is private and via the Permissions tab I have made the image available to several dozen AWS account numbers. I have a new AMI image that I would like to make available to the same AWS accounts as the original image. I can cut and paste each account number into the Permissions tab dialog on the new AMI image... but that seems very tedious. Is there a way to bulk copy the AWS account number permissions set on one AMI image to another AMI image? Thanks. 回答1: You should

EC2 instance stopped working after creating an Image

戏子无情 提交于 2019-12-11 09:34:34
问题 I'm totally new to AWS. I managed to have an instance that runs PHPMyAdmin. then I created an image (EBS AMI) for this instant and could not connect any more to my phpmyadmin interface. I know it's really stupid, but I don't know why it happens. thanks 回答1: Make sure all needed services (e.g. ssh, Apache / nginx, MySQL) on your server get started when booting. If you create an AMI of your system AWS will shut down your server for the time the image creation takes place. So ssh into your