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
865 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
2,974 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,130 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
992 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
724 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
976 views
0 votes
1 answer

How does cloud computing work?

Cloud computing is a technology that allows ...READ MORE

answered Nov 30, 2023 in Cloud Computing by anonymous
• 3,360 points
341 views
0 votes
1 answer

How does a content delivery network (CDN) work in the cloud?

Here's the explanation in concise points: Step 1: ...READ MORE

answered Nov 20 in Cloud Computing by jaanu
46 views
0 votes
0 answers

How does encryption work in the cloud?

I need to ensure that the data ...READ MORE

Nov 18 in Cloud Computing by Priyanka
• 4,500 points
40 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,525 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
772 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