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
629 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,440 points
2,536 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
959 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,290 points
667 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
482 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
633 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,320 points
142 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,200 points
3,417 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
2,125 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,227 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
581 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