Create a Custom AMI on AWS EC2 How-To Tutorial

preview_player
Показать описание
In this video, I’m going to show you how to create a custom Amazon Machine Image file that can be used to provision EC2 instances with pre-configured applications and settings. Custom AMIs can save you lots of time because it allows you to create your own installation template.

Chapters:

0:00 Introduction

1:06 Spinning EC2 Machine

5:15 Create AMI Template from EC2

7:43 Using Custom AMI

9:53 Breakdown

10:04 Subscribe

10:12 FIN
Рекомендации по теме
Комментарии
Автор

Script!
#!/bin/bash
yum install -y httpd
systemctl start httpd
systemctl enable httpd
cd /var/www/html
echo "<html>This computer's instance ID is: <b>${INSTANCE_ID}</b>, <br>Public IP address is: <b>${PUBLIC_IP}</b>, <br><br><br> Region: <b>${REGION}</b>, <br> Availability Zone: <b>${AV_ZONE}</b><br>" > index.html
if [[ "$REGION" == "us-east-1" ]]
then
else
fi

amaurysvaldez