From the course: Amazon EC2 Essential Training
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
EC2 user data - Amazon EC2 Tutorial
From the course: Amazon EC2 Essential Training
EC2 user data
- [Instructor] Now let's talk about EC2 user data. User data can be used to run scripts at instance startup. That is when the instance is booting up. It can be used to automate a variety of configuration tasks, and by default it is only executed when the instance is first launched. User data can be used to configure common tasks such as updating packages on the instance, installing a web server at launch time, installing an agent, backing up logs, and updating device configuration. When configuring user data on Linux AMIs, it can be in the form of shell scripts or cloud init directives. Shell scripts are run by the shell, which is the command line interpreter. Cloud Init is a package that allows you to initialize and configure cloud instances, such as EC2 instances. It is an open source package and it is also used to configure virtual machines of other cloud computing providers. Cloud Init is commonly preferred for…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What makes up an EC2 instance?8m 20s
-
(Locked)
Amazon Machine Image (AMI)5m 40s
-
(Locked)
How to find a pre-defined AMI2m 19s
-
(Locked)
How to create and restore an AMI10m 51s
-
(Locked)
EC2 instance types6m 41s
-
(Locked)
Key pairs6m 12s
-
(Locked)
VPC and subnets7m 37s
-
(Locked)
Security groups2m 38s
-
(Locked)
Demo: Security groups5m
-
(Locked)
EBS volumes5m 11s
-
(Locked)
Demo: EBS volumes7m 19s
-
(Locked)
Advanced launch options: Part 110m 16s
-
(Locked)
Advanced launch options: Part 28m 47s
-
(Locked)
EC2 user data7m 7s
-
(Locked)
Connect to your EC2 instance10m 18s
-
(Locked)
Navigating the EC2 console9m 12s
-
(Locked)
Navigating the EC2 dashboard4m 44s
-
-
-
-