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
18 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,360 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
• 1,150 points
38 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
• 5,750 points
43 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
• 3,770 points
13 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
29 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
14 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
62 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,120 points
66 views
0 votes
1 answer

Amazon EC2 Security Groups

It creates a new security group for ...READ MORE

answered Jun 26, 2018 in Cloud Computing by code_ninja
• 5,750 points
33 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,360 points
57 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,360 points
18 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.