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,200 points
1,140 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,450 points

Related Questions In Cloud Computing

0 votes
1 answer

How can connect Amazon EC2 machine using user access key and secret keys

Hi@Sivakumar, Follow the below given steps. First enable port ...READ MORE

answered Mar 24, 2020 in Cloud Computing by MD
• 95,460 points
3,369 views
0 votes
0 answers

How does data replication work in cloud databases?

I'm using a cloud-based database and want ...READ MORE

Jun 19 in Cloud Computing by Anupam
• 18,800 points
41 views
0 votes
0 answers

How does cloud-based encryption work for data at rest?

When cloud providers say data is encrypted ...READ MORE

Jun 19 in Cloud Computing by Nidhi
• 16,260 points
57 views
0 votes
0 answers

How does object versioning work in Amazon S3 or Google Cloud Storage?

I’ve enabled object versioning in S3 (and ...READ MORE

3 days ago in Cloud Computing by Anupam
• 18,800 points
38 views
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,360 points
1,415 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,300 points
1,371 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,170 points
933 views
0 votes
1 answer

How does AWS Lambda work?

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

answered Jul 11, 2019 in Cloud Computing by ArchanaNagur
• 2,360 points
1,192 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,450 points
1,850 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,450 points
1,051 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP