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
Implementing Cloud Design Patterns for AWS

You're reading from   Implementing Cloud Design Patterns for AWS Solutions and design ideas for solving system design problems

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781789136203
Length 274 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (4):
Arrow left icon
Clive Harber Clive Harber
Author Profile Icon Clive Harber
Clive Harber
Sean Keery Sean Keery
Author Profile Icon Sean Keery
Sean Keery
Rick Farmer Rick Farmer
Author Profile Icon Rick Farmer
Rick Farmer
Marcus Young Marcus Young
Author Profile Icon Marcus Young
Marcus Young
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: The Basics FREE CHAPTER
2. Introduction to Amazon Web Services 3. Core Services - Building Blocks for Your Product 4. Availability Patterns - Understanding Your Needs 5. Security - Ensuring the Integrity of Your Systems 6. Section 2: DevOps Patterns
7. Continuous Deployment - Introducing New Features with Minimal Risk 8. Ephemeral Environments - Sandboxes for Experiments 9. Operation and Maintenance - Keeping Things Running at Peak Performance 10. Application Virtualization - Using Cloud Native Patterns for Your Workloads 11. Antipatterns - Avoiding Counterproductive Solutions 12. Section 3: Persistence Patterns
13. Databases - Identifying Which Type Fits Your Needs 14. Data Processing - Handling Your Data Transformation 15. Observability - Understanding How Your Products Are Behaving 16. Anti-Patterns - Bypassing Inferior Options 17. Other Books You May Enjoy

Containers

Containerization is the method of packaging your applications for virtualization. The images created allow you to easily execute your containers in a variety of manners. We can install Docker on our Cloud9 instance:

sudo yum install -y docker
sudo service docker start
# The below command will tell us if the docker daemon is running
docker info

Let's look at a sample Dockerfile at https://raw.githubusercontent.com/Docker-example/alpine-wordpress/master/Dockerfile:

# Installing dependencies
RUN apk add --no-cache --virtual .build-deps unzip
RUN apk add --no-cache apache2 php7 php7-apache2 php7-openssl php7-xml php7-pdo php7-mcrypt php7-session php7-mysqli php7-zlib su-exec
RUN mkdir -p /run/apache2 /run/httpd
# Work path
WORKDIR /scripts
# Download & install wordpress
ADD https://wordpress.org/wordpress-${VERSION_WORDPRESS}.zip ./
RUN unzip -q wordpress-...
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