Skip to content

Commit 1bf9255

Browse files
Merge pull request #3421 from anupras-mohapatra-arm/aws-cdk
CDK LP and install guide editorial review
2 parents 4d2d8a3 + 71f92c9 commit 1bf9255

4 files changed

Lines changed: 20 additions & 21 deletions

File tree

content/install-guides/aws-cdk.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,21 @@ official_docs: https://docs.aws.amazon.com/cdk/v2/guide/home.html
1111
test_images:
1212
- ubuntu:latest
1313
test_maintenance: true
14-
draft: true
1514
title: AWS CDK CLI
1615
description: Install the AWS CDK CLI on Arm Linux and macOS using npm, then verify the setup with the `cdk` command.
1716
tool_install: true
1817
weight: 1
1918
---
2019

21-
The AWS Cloud Development Kit (CDK) is an open-source infrastructure as code (IaC) software development framework. You can use the AWS CDK to define and deploy applications on Arm-based cloud infrastructure powered by AWS Graviton.
20+
The AWS Cloud Development Kit (AWS CDK) is an open-source infrastructure as code (IaC) software development framework. You can use the AWS CDK to define and deploy applications on Arm-based cloud infrastructure powered by AWS Graviton.
2221

23-
With the CDK, you can write applications in a supported programming language of your choice. You can then use the AWS CDK CLI to translate the code into an AWS CloudFormation template and deploy the application.
22+
You can write applications in a supported programming language of your choice. Then, you can use the AWS CDK CLI to translate the code into an AWS CloudFormation template and deploy the application.
2423

2524
In this guide, you'll learn how to install the CDK CLI and verify that the CLI installation was successful.
2625

2726
## Before you begin
2827

29-
Make sure that you have the AWS CLI installed:
28+
Verify that you have the AWS CLI installed:
3029

3130
```bash
3231
aws --version
@@ -37,7 +36,7 @@ The output is similar to:
3736
```output
3837
aws-cli/2.34.56 Python/3.14.5 Darwin/25.5.0 exe/arm64
3938
```
40-
For more information about setting up AWS credentials and installing the AWS CLI, see the [AWS Credentials](/install-guides/aws_access_keys/) and [AWS CLI](/install-guides/aws-cli/) install guides.
39+
For instructions to set up AWS credentials and install the AWS CLI, see the [AWS Credentials](/install-guides/aws_access_keys/) and [AWS CLI](/install-guides/aws-cli/) install guides.
4140

4241
Make sure you have Node.js 22 or later installed:
4342

@@ -52,7 +51,7 @@ v26.2.0
5251
```
5352
If you don't have Node.js installed, or if the installed version is earlier than Node.js 22, download a suitable version from the [Node.js website](https://nodejs.org/en/download).
5453

55-
You'll also need to install prerequisites specific to the programming languages that you want to use. For more information about language-specific prerequisites, see [Install Node.js and programming language prerequisites](https://docs.aws.amazon.com/cdk/v2/guide/prerequisites.html#prerequisites-node) in the AWS CDK documentation.
54+
You'll also need to install prerequisites specific to the programming languages that you want to use. For more information, see [Install Node.js and programming language prerequisites](https://docs.aws.amazon.com/cdk/v2/guide/prerequisites.html#prerequisites-node) in the AWS CDK documentation.
5655

5756
## Install the AWS CDK CLI
5857

@@ -79,4 +78,4 @@ The output is similar to:
7978

8079
You've now installed the AWS CDK CLI and verified that the installation was successful.
8180

82-
Next, you can use the AWS CDK to create and deploy applications on Arm-based compute powered by AWS Graviton. To learn how you can use the CDK and Amazon Elastic Container Service (ECS) to run containers on Arm-based compute, see [Deploy containers on Arm-based compute using Amazon ECS and the AWS CDK](/learning-paths/servers-and-cloud-computing/aws-cdk/).
81+
Next, you can use the AWS CDK to create and deploy applications on Arm-based compute powered by AWS Graviton. To learn how you can use the AWS CDK and Amazon Elastic Container Service (Amazon ECS) to run containers on Arm-based compute, see [Deploy containers on Arm-based compute using Amazon ECS and the AWS CDK](/learning-paths/servers-and-cloud-computing/aws-cdk/).

content/learning-paths/servers-and-cloud-computing/aws-cdk/_index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,18 @@
22
title: Deploy containers on Arm-based compute using Amazon ECS and the AWS CDK
33
description: Learn how to define and deploy a containerized application on Arm-based compute using the AWS Cloud Development Kit.
44

5-
draft: true
6-
cascade:
7-
draft: true
8-
95
minutes_to_complete: 45
106

11-
who_is_this_for: This is an introductory topic for software developers who want to use the AWS Cloud Development Kit (AWS CDK) to deploy applications on Arm-based AWS infrastructure.
7+
who_is_this_for: This is an introductory topic for software developers who want to use the AWS Cloud Development Kit (AWS CDK) to deploy containerized applications on Arm-based AWS infrastructure.
128

139
learning_objectives:
1410
- Create an example AWS CDK application in JavaScript
1511
- Define AWS infrastructure using the AWS CDK
1612
- Deploy application resources on Arm-based AWS compute using Amazon ECS and the AWS CDK
1713

1814
prerequisites:
19-
- An Amazon Web Services (AWS) account
20-
- A local computer with the AWS CLI, AWS CDK CLI, and Node.js installed
15+
- An Amazon Web Services (AWS) account
16+
- A local computer with the AWS CLI, AWS CDK CLI, and Node.js installed, with AWS credentials configured.
2117
- Familiarity with the Linux command line and JavaScript
2218

2319
author: Anupras Mohapatra
@@ -51,6 +47,10 @@ further_reading:
5147
title: AWS CLI install guide
5248
link: /install-guides/aws-cli/
5349
type: install-guide
50+
- resource:
51+
title: Amazon ECS task definitions for 64-bit Arm workloads
52+
link: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-arm64.html
53+
type: documentation
5454

5555
### FIXED, DO NOT MODIFY
5656
# ================================================================================

content/learning-paths/servers-and-cloud-computing/aws-cdk/app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: "learningpathall"
88

99
## Set up a sample AWS CDK application
1010

11-
The AWS Cloud Development Kit (CDK) is an open-source infrastructure as code (IaC) software development framework.
11+
The AWS Cloud Development Kit (AWS CDK) is an open-source infrastructure as code (IaC) software development framework.
1212

1313
In this section, you'll create a JavaScript CDK application that defines an Amazon Elastic Container Service (ECS) service running on Arm-based AWS Fargate compute.
1414

@@ -82,7 +82,7 @@ In the project, you'll find a file called `arm-cdk-app-stack.js` in the `lib` di
8282

8383
Update `lib/arm-cdk-app-stack.js` to define a load-balanced Amazon ECS service that runs an NGINX web server on an Arm-based AWS Fargate runtime platform.
8484

85-
Replace the contents of the file with the code below:
85+
Replace the contents of the file with the following code:
8686

8787
```javascript
8888
const cdk = require('aws-cdk-lib');
@@ -112,6 +112,6 @@ module.exports = { ArmCdkAppStack };
112112

113113
## What you've accomplished and what's next
114114

115-
You've now set up a sample application using AWS CDK.
115+
You've now set up a sample JavaScript application using AWS CDK and defined an Amazon ECS service that runs on Arm-based AWS Fargate compute.
116116

117117
Next, you'll use AWS CDK to synthesize and deploy the application.

content/learning-paths/servers-and-cloud-computing/aws-cdk/cdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ cdk deploy
3838
```
3939
By default, the AWS CDK CLI will prompt you to approve IAM-related changes during deployment.
4040

41-
For the AWS CDK CLI to deploy the application without the need for approval, set the `--require-approval` flag to `never` during deployment:
41+
If you want the AWS CDK CLI to deploy the application without the need for approval, set the `--require-approval` flag to `never` during deployment:
4242

4343
```bash
4444
cdk deploy --require-approval never
4545
```
4646

4747
{{% notice Note %}}
48-
The deployment can take a couple minutes to complete.
48+
The deployment can take a few minutes to complete.
4949
{{% /notice %}}
5050

51-
When the deployment completes, the last couple lines of the output will include a URL to the web server and the load balancer's DNS name:
51+
When the deployment completes, the final lines of the output will include a URL to the web server and the load balancer's DNS name:
5252

5353
```output
5454
Outputs:
@@ -73,7 +73,7 @@ cdk destroy
7373
```
7474
By default, the AWS CDK CLI will prompt you to approve the deletion of `ArmCDKAppStack`.
7575

76-
For the AWS CDK CLI to clean up resources without the need for approval, use the `--force` or `-f` flag:
76+
If you want the AWS CDK CLI to clean up resources without the need for approval, use the `--force` or `-f` flag:
7777

7878
```bash
7979
cdk destroy -f

0 commit comments

Comments
 (0)