Questions tagged [ec2-ami]

For questions relating to virtual machine images (Amazon Machine Image) on Amazon's EC2 infrastructure.

Amazon Web Services Elastic Compute Cloud (hence, EC2) provides scalable and resizeable a la carte compute services in regions around the world. One of their goals is to "make web-scale cloud computing easier for developers".

Ec2 provides access to a large variety of compute services, ranging from a 'free tier' of smaller 'instance' types, to extremely powerful and specialized systems.

Across AWS EC2, an AMI is an Amazon Machine Image, which provides all of the information needed to launch a given machine. An AMI contains a template for the root volume of the instance (or VM), the permissions for where and how it is launched, and any block device (storage) mappings.

Any machine, including pre-configured machines of your own, can be imaged into an AMI which is then re-lauched, modified, or the like. This can be extremely useful for taking a snapshot of a machine and then redeploying it at a later time, or in a different location or availability zone.

283 questions
1
vote
0 answers

Giving VersionPress write permissions via ssh on bitnami WP ami running on EC2 instance

Thanks in advance for your patience and support helping me with this issue. I can normally work around most problems by reading online, but when it comes to linux and ssh I cant - it's too complex. No two explanations seem the same. The problem is…
Phil
  • 49
  • 7
1
vote
0 answers

Cant start cassandra on ec2 instance

Hello I installed cassandra on Ec2 instance and configured yaml file and topology settings but when i start the service (first time) it is throwing the below error. Can anyone tell me the fix? Many thanks Fail setting `ulimit '-p' '8'`:…
user3726031
  • 279
  • 1
  • 3
  • 14
1
vote
1 answer

Python Boto3: set session, create an EC2 instance and run command using csdshell

I need to write a python script using boto3 which does the following, set aws access & secret key for my session then create an ec2 instance (using ami image) execute a command in newly created ec2 instance
1
vote
3 answers

How to use Haproxy in Aws auto scaling instead of ELB?

How to use Haproxy in Aws auto scaling instead of ELB and also how to integrate existing aws instance setup into auto scaling.
SunLynx
  • 47
  • 1
  • 14
1
vote
1 answer

packer, aws: "ec2-bundle-vol: line 6: ruby: command not found"

I'm using packer, this is in my provisioners (or the relevant parts at least) right after a provisioner that installs ruby. { "type": "shell", "inline_shebang": "/bin/bash", "inline": [ "source ~/.bash_profile", "rbenv versions", …
Morgan
  • 1,438
  • 3
  • 17
  • 32
1
vote
1 answer

First execution of Docker on a new EC2 Jenkins Slave does not work

I'm using the EC2 Plugin in Jenkins to spin up slave instances when we need them. Recently I've wanted to play around with Docker so I installed it on the AMI we use as a slave - but the first run on the slave never seems to work. + docker…
Spedge
  • 1,668
  • 1
  • 19
  • 36
1
vote
2 answers

EC2 DataStax AMI V2.5 Error (Opscenter Cassandra)

I just setup a EC2 cluster and setup a new instance using the AMI: datastax_clustering_ami_2.5.1_hvm.manifest.xml (ami-7f33cd08) on a m3.large Instance type. Followed the instructions carefully and found more people reporting on the same error…
Gerard
  • 3,108
  • 1
  • 19
  • 21
1
vote
1 answer

Waiting for EC2 instance to launch and be in running state

I am writing a program using AWS Java SDK to create EC2 instances and do some processing once they are launched. I have written the following code but I know there could be a better way to do this: public static void main(String[] args) { //…
AngryPanda
  • 1,261
  • 2
  • 19
  • 42
1
vote
1 answer

DataStax AMI default cassandra.yaml not achieving consistency 2?

I have installed Datastax AMI which is using EC2Snitch. The configurations are: listen_address: private ip broadcast_address: same as listen address rpc_address: 0.0.0.0 broadcast_rpc: private ip seeds: private ip I have 2 such instances but I…
mehnaazm
  • 287
  • 1
  • 4
  • 14
1
vote
1 answer

boto EC2 find all Ubuntu images?

How do I find all Ubuntu images available in my region? Attempt: from boto.ec2 import connect_to_region conn = connect_to_region(**dict(region_name=region, **aws_keys)) if not filters: # Not as default arguments, as they should be immutable …
A T
  • 13,008
  • 21
  • 97
  • 158
1
vote
1 answer

ec2 isn't responding on 443 with AWS beanstalk

I'm using elastic beanstalk with AWS. I have a java/tomcat application I'm trying to deploy to https. I've now spent nearly 2 days trying to get https up and runnng with very minimal success. What I've done and what I'm seeing happen. 1. I bought…
Code Junkie
  • 7,602
  • 26
  • 79
  • 141
1
vote
1 answer

cannot login to my aws spot instance even though it is running

I cannot login to my aws spot instance even though it is running. I am not able to access my data through ssh or scp. I know that my pem key works for other instances, so its not an issue with the pem key. ssh -i my_pem_key.pem ubuntu@my_dns_name …
lalith kkvn
  • 310
  • 1
  • 3
  • 11
1
vote
1 answer

AWS Instance creation error

i am getting the below error while creating an instance in AWS through eclipse. exception in thread "main" com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain at…
1
vote
1 answer

Amazon EC2 instance revert to the state in which it was created

Is it possible to revert the AWS EC2 instance to the state at which it was created? If so how do I do it?
Bourne
  • 1,905
  • 13
  • 35
  • 53
1
vote
1 answer

How to route different http post request to same instance using loadbalancer?

I have an application that sends video and a text file on different http post request. I have multiple ec2 instances under a loadbalancer. The video and text from a user must be sent to the same instance. Since I'm using a loadbalancer, is there any…