|
2 | 2 |
|
3 | 3 | In this module, you will deploy the Bookstore application and Wordpress blog in the primary (Ireland, eu-west-1) region using AWS CDK(Cloud Development Kit) and AWS CloudFormation. The solution uses the following components:
|
4 | 4 |
|
5 |
| -1. Fargate and Aurora - Book blog posts with Wordpress (AWS Fargate is a compute engine for Amazon ECS and EKS that allows you to run containers without having to manage servers or clusters) |
6 |
| -2. CloudFront and S3 - Web static content, ReactJS files |
7 |
| -3. API Gateway, AWS Lambda and Cognito - App layer with authentication |
8 |
| -4. DynamoDB and ElastiCache - Books, Order, Cart tables and Best Seller information |
| 5 | +1. Module 1-1. |
| 6 | +* Fargate and Aurora - Book blog posts with Wordpress (AWS Fargate is a compute engine for Amazon ECS and EKS that allows you to run containers without having to manage servers or clusters) |
| 7 | +2. Module 1-2. |
| 8 | +* CloudFront and S3 - Web static content, ReactJS files |
| 9 | +* API Gateway, AWS Lambda and Cognito - App layer with authentication |
| 10 | +* DynamoDB and ElastiCache - Books, Order, Cart tables and Best Seller information |
9 | 11 |
|
10 | 12 | You will also create the IAM polices and roles required by these components.
|
11 | 13 |
|
@@ -44,22 +46,30 @@ Type "Y", and it will take around 5 min.
|
44 | 46 |
|
45 | 47 | - You need `hostedZone.hostedZoneID` information in the module 2.
|
46 | 48 |
|
47 |
| -Now, let's check if the DNS is setup correctly in Route53. Open a new Terminal or iTerm and enter the following command to make sure you see that the DNS is resolving to the correct addresses. |
| 49 | +Now, let's check if the DNS is setup correctly in Route53. Enter the following command to make sure you see that the DNS is resolving to the correct addresses. |
48 | 50 |
|
49 | 51 | ```
|
50 | 52 | dig +short NS <<YOUR HOSTED NAME URL>> e.g. myUniqueTeamName.multi-region.xyz
|
51 | 53 | ```
|
52 |
| -Now, compare the results with the ones in Route53. If they are the same, you can proceed to deploy the Wordpress. If not, please wait another 1 min before you seek help from the AWS instructors. |
| 54 | +Now, compare the results with the ones in output of CDK. If they are the same, you can proceed to deploy the Wordpress with the following command. |
53 | 55 |
|
54 |
| - |
| 56 | +<!--  --> |
55 | 57 |
|
56 | 58 | ```
|
57 | 59 | npx [email protected] deploy Wordpress-Primary
|
58 | 60 |
|
59 | 61 | Do you wish to deploy these changes (y/n)?
|
60 | 62 | ```
|
61 | 63 |
|
62 |
| -Enter "**Y**", and it will take around 20 min. |
| 64 | +Enter "**Y**", and it will take around 20 min. |
| 65 | + |
| 66 | +FYI. |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +export MYSUBDOMAIN=<enter a 8 char unique subdomain name, eg: team1234> |
63 | 73 |
|
64 | 74 | **Your Book Blog is completed**
|
65 | 75 |
|
|
0 commit comments