-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fa89d8
commit 45f081f
Showing
4 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,12 @@ | |
|
||
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: | ||
|
||
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) | ||
2. CloudFront and S3 - Web static content, ReactJS files | ||
3. API Gateway, AWS Lambda and Cognito - App layer with authentication | ||
4. DynamoDB and ElastiCache - Books, Order, Cart tables and Best Seller information | ||
1. Module 1-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) | ||
2. Module 1-2. | ||
* CloudFront and S3 - Web static content, ReactJS files | ||
* API Gateway, AWS Lambda and Cognito - App layer with authentication | ||
* DynamoDB and ElastiCache - Books, Order, Cart tables and Best Seller information | ||
|
||
You will also create the IAM polices and roles required by these components. | ||
|
||
|
@@ -44,22 +46,30 @@ Type "Y", and it will take around 5 min. | |
|
||
- You need `hostedZone.hostedZoneID` information in the module 2. | ||
|
||
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. | ||
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. | ||
|
||
``` | ||
dig +short NS <<YOUR HOSTED NAME URL>> e.g. myUniqueTeamName.multi-region.xyz | ||
``` | ||
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. | ||
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. | ||
|
||
 | ||
<!--  --> | ||
|
||
``` | ||
npx [email protected] deploy Wordpress-Primary | ||
Do you wish to deploy these changes (y/n)? | ||
``` | ||
|
||
Enter "**Y**", and it will take around 20 min. | ||
Enter "**Y**", and it will take around 20 min. | ||
|
||
FYI. | ||
|
||
|
||
|
||
|
||
|
||
export MYSUBDOMAIN=<enter a 8 char unique subdomain name, eg: team1234> | ||
|
||
**Your Book Blog is completed** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters