How does Amazon ec2 user-data work?

0 votes

When we start instances and pass in the user-data, when is the data transmitted to the VM and where is it stored?

My first take on it was it is set as the USER_DATA env var, but we can also pass it as a file. So, the next question is where is that file stored? Is it generic to all instances or varies depending on AMI?

May 15, 2018 in Cloud Computing by brat_1
• 7,080 points
41 views

1 answer to this question.

0 votes

Refer these:

·         http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html

·         http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html

To throw some light on your queries.

User-data is available to the instance with a simple HTTP request at this URL:

http://169.254.169.254/latest/user-data
answered May 15, 2018 by DragonLord999
• 8,380 points

Related Questions In Cloud Computing

0 votes
1 answer

Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?

ELB automatically distributes incoming application traffic across ...READ MORE

answered Jul 12, 2018 in Cloud Computing by ArchanaNagur
• 2,270 points
354 views
+1 vote
2 answers

How does Elastic Beanstalk and EC2 contribute to automation in AWS?

I hope this helps AWS Elastic Beanstalk is the ...READ MORE

answered Jul 26, 2018 in Cloud Computing by code_ninja
• 6,220 points
74 views
0 votes
1 answer

How Does free Rtos Work?

Amazon FreeRTOS provides everything you need to ...READ MORE

answered Oct 9, 2018 in Cloud Computing by Archana
• 4,090 points
26 views
0 votes
1 answer

How does AWS Lambda work?

AWS Lambda is  an Amazon service which ...READ MORE

answered Jul 11 in Cloud Computing by ArchanaNagur
• 2,270 points
37 views
+4 votes
2 answers

Amazon S3 Permission problem - How to set permissions for all files at once?

This can be done by setting the ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
58 views
0 votes
3 answers

Is it possible to redirect a domain to Amazon EC2?

Create an Elastic IP on the AWS ...READ MORE

answered Nov 30, 2018 in Cloud Computing by Abhinav
34 views
0 votes
1 answer

Differentiating Amazon EC2 API tools and AMI tools?

This is what AWS FAQ’s have to ...READ MORE

answered Apr 18, 2018 in Cloud Computing by hemant
• 5,750 points
96 views
0 votes
2 answers

How can I route request to EC2 instance behind AWS ELB?

You can have a look at the ...READ MORE

answered Aug 17, 2018 in Cloud Computing by Priyaj
• 56,900 points
110 views
0 votes
1 answer

How does AWS Glacier Select work?

Amazon Glacier Select allows queries to run ...READ MORE

answered Oct 5, 2018 in Cloud Computing by DragonLord999
• 8,380 points
133 views
0 votes
1 answer

How does AWS Glacier work?

Lets imagine that we want to build ...READ MORE

answered Oct 10, 2018 in Cloud Computing by DragonLord999
• 8,380 points
32 views