Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
AWS Certified Solutions Architect ??? Associate Guide

You're reading from  AWS Certified Solutions Architect ??? Associate Guide

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781789130669
Pages 626 pages
Edition 1st Edition
Languages
Authors (2):
Gabriel Ramirez Gabriel Ramirez
Profile icon Gabriel Ramirez
Stuart Scott Stuart Scott
Profile icon Stuart Scott
View More author details

Table of Contents (26) Chapters

Preface Introducing Amazon Web Services AWS Global Infrastructure Overview Elasticity and Scalability Concepts Hybrid Cloud Architectures Resilient Patterns Event Driven and Stateless Architectures Integrating Application Services Disaster Recovery Strategies Storage Options Matching Supply and Demand Introducing Amazon Elastic MapReduce Web Scale Applications Understanding Access Control Encryption and Key Management An Overview of Security and Compliance Services AWS Security Best Practices Web Application Security Cost Effective Resources Working with Infrastructure as Code Automation with AWS Introduction to the DevOps practice in AWS Mock Test 1
Mock Test 2
Assessment Another Book You May Enjoy

Bootstrapping

The next exercise will be to spin off a new instance using the user data feature. This way, we will have a means to execute a series of instructions on the operating system automatically, as a post-creation process.

We will use a text file as a reference for the bootstrapping scripts. This set of instructions will be executed internally by the cloud-init open source package.

This command will also reference the default security group (you can find the ID by navigating within the console and selecting the current instance properties). To set this up, let's go through the following steps:

  1. We will provision our new instance by using the following user data input file. You can find this file in the GitHub repository under chapter02/bootstrap.txt:
aws ec2 run-instances --image-id ami-14c5486b --key-name BookShelfApp --instance-type t2.medium --security-group-ids...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}