Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS DevOps Simplified

You're reading from   AWS DevOps Simplified Build a solid foundation in AWS to deliver enterprise-grade software solutions at scale

Arrow left icon
Product type Paperback
Published in Sep 2023
Publisher Packt
ISBN-13 9781837634460
Length 318 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Akshay Kapoor Akshay Kapoor
Author Profile Icon Akshay Kapoor
Akshay Kapoor
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1 Driving Transformation through AWS and DevOps
2. Chapter 1: Accelerating Your DevOps Journey with AWS FREE CHAPTER 3. Chapter 2: Choosing the Right Cloud Service 4. Chapter 3: Leveraging Immutable Infrastructure in the Cloud 5. Part 2 Faster Software Delivery with Consistent and Reproducible Environments
6. Chapter 4: Managing Infrastructure as Code with AWS CloudFormation 7. Chapter 5: Rolling Out a CI/CD Pipeline 8. Chapter 6: Programmatic Approach to IaC with AWS CDK 9. Part 3 Security and Observability of Containerized Workloads
10. Chapter 7: Running Containers in AWS 11. Chapter 8: Enabling the Observability of Your Workloads 12. Chapter 9: Implementing DevSecOps with AWS 13. Part 4 Taking the Next Steps
14. Chapter 10: Setting Up Teams for Success 15. Chapter 11: Ensuring a Strong AWS Foundation for Multi-Account and Multi-Region Environments 16. Chapter 12: Adhering to AWS Well-Architected Principles 17. Index 18. Other Books You May Enjoy

Building an AMI with Packer

Packer is an open source tool from Hashicorp that automates the process of building system images. It works with all major cloud providers and helps author your golden images – templates for your virtual machines in the cloud. It also offers a multi-cloud workflow to define a blueprint for creating images across multiple providers, such as AWS and GCP. For the scope of this chapter, we will focus on creating an AWS-based AMI and starting an EC2 instance off of it.

Packer leverages a JSON template that defines all the configurations for creating your AWS image. Using the CLI, you can target a specific configuration that defines the steps to create an AMI in your AWS account. Once the execution completes, you can simply create an EC2 instance using this standardized template with all software dependencies baked in. Using pre-baked AMIs ensures a good security posture and avoids the need for any modifications post instance creation.

Let’...

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 $19.99/month. Cancel anytime
Banner background image