Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions content/intermediate/templates/conditions/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Resources:
スタックを作成する時に、`test` を `EnvType` の値として渡すと、CloudFormation によって EC2 インスタンスリソースのみがプロビジョニングされることがわかります。更新したテンプレートを保存します。次に、AWS CloudFormation [コンソール](https://console.aws.amazon.com/cloudformation) に移動し、スタックを作成します。

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down Expand Up @@ -147,8 +147,8 @@ aws cloudformation create-stack --stack-name cfn-workshop-condition-test \
次のステップでは、同じテンプレートを使用して新しいスタックを作成します。今回は、`envType` パラメータの値として `prod` を渡し、`Volume` と `MountPoint` リソースもプロビジョニングされることを確認します。AWS CloudFormation [コンソール](https://console.aws.amazon.com/cloudformation)に移動し、既存のテンプレートを使用してスタックを作成します。

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down Expand Up @@ -233,8 +233,8 @@ Resources:
このセクションでは、`EnvType` パラメータの値として `test` を指定、EC2 インスタンスのタイプが `t2.micro` であることを確認します。AWS CloudFormation [コンソール](https://console.aws.amazon.com/cloudformation)に移動し、次のテンプレートを使用してスタックを作成します。

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down Expand Up @@ -299,8 +299,8 @@ Outputs:
次に、AWS CloudFormation [コンソール](https://console.aws.amazon.com/cloudformation)に移動して、`cfn-workshop-condition-prod` スタックの更新を選択します。

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/conditions` ディレクトリに移動します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down
16 changes: 8 additions & 8 deletions content/intermediate/templates/conditions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Let’s deploy the solution!
When you create the stack, you will pass `test` as the value for `EnvType`, and you will observe only an EC2 instance resource will be provisioned by CloudFormation. Save the template you have updated with content above; next, navigate to the AWS CloudFormation [console](https://console.aws.amazon.com/cloudformation), and choose to create a stack using this template:

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/conditions`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/conditions`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down Expand Up @@ -146,8 +146,8 @@ Once the stack is in the `CREATE_COMPLETE` status, navigate to the **Resources**
In the next step, you will create a new stack with the same template. This time, you will pass `prod` as the value for the `EnvType` parameter, and verify that you will provision, with CloudFormation, your `Volume` and `MountPoint` resources as well. Navigate to the AWS CloudFormation [console](https://console.aws.amazon.com/cloudformation), and choose to create a stack using your existing template:

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/conditions`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/conditions`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down Expand Up @@ -232,8 +232,8 @@ Time to deploy your resources!
In this section, you will pass `test` as the value for the `EnvType` parameter, and verify the type of your EC2 instance will be `t2.micro`. Navigate to the AWS CloudFormation [console](https://console.aws.amazon.com/cloudformation), and choose to create a stack using this template:

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/conditions`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/conditions`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down Expand Up @@ -298,8 +298,8 @@ Outputs:
Next, navigate to the AWS CloudFormation [console](https://console.aws.amazon.com/cloudformation), and choose to update your `cfn-workshop-condition-prod` stack:

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/conditions`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/conditions`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/conditions
:::
Expand Down
10 changes: 5 additions & 5 deletions content/intermediate/templates/cross-stacks/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Outputs:
##### 2. VPC スタックのデプロイ

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `cfn101-workshop/code/workspace/cross-stacks` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `cfn101-workshop/code/workspace/cross-stacks` ディレクトリに移動します。
1. **スタックを作成** は、次の AWS CLI コマンドを使用して行います。このテンプレートでは、 `AvailabilityZones` パラメータの値を指定する必要があります。たとえば、 `us-east-1a` と `us-east-1b` は以下で使用されます。利用しているリージョンの 2 つのアベイラビリティーゾーンを選択してください。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -113,7 +113,7 @@ aws cloudformation wait stack-create-complete \

##### 2. IAM スタックのデプロイ
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. 次の AWS CLI コマンドを使用して、 **スタックを作成** してみましょう。このテンプレートでは、IAM リソースを作成するための `CAPABILITY_IAM` 機能を指定する必要があります。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -216,7 +216,7 @@ WebServerSecurityGroup:
##### 5. EC2 スタックのデプロイ

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. 次の AWS CLI コマンドを使用して、 **スタックを作成** してみましょう。このテンプレートでは、IAM リソースを作成するための `CAPABILITY_IAM` 機能を指定する必要があります。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -264,7 +264,7 @@ Session Manager を使用してインスタンスにログインできること

![delete-export-before-import.png](/static/intermediate/templates/cross-stacks/delete-export-before-import.ja.png)
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. **スタックを削除** するために次の AWS CLI コマンドを実行してください
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation delete-stack \
Expand Down
10 changes: 5 additions & 5 deletions content/intermediate/templates/cross-stacks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Outputs:

##### 2. Deploy the VPC Stack
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `cfn101-workshop/code/workspace/cross-stacks`.
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `cfn101-workshop/code/workspace/cross-stacks`.
1. **Create Stack** by using the following AWS CLI command. The template requires you provide the values for `AvailabilityZones` parameter, For example `us-east-1a` and `us-east-1b` are used below. Please select 2 Availability Zone based on your region.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -113,7 +113,7 @@ aws cloudformation wait stack-create-complete \

##### 2. Deploy the IAM Stack
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. Let's **Create Stack** by using the following AWS CLI command. The template requires you to specify `CAPABILITY_IAM` capability for creating IAM resources.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -214,7 +214,7 @@ WebServerSecurityGroup:

##### 5. Deploy the EC2 Stack
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. Let's **Create Stack** by using the following AWS CLI command. The template requires you to specify `CAPABILITY_IAM` capability for creating IAM resources.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -262,7 +262,7 @@ For example, you can not delete the **VPC stack** before you delete **EC2 stack*

![delete-export-before-import.png](/static/intermediate/templates/cross-stacks/delete-export-before-import.png)
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. **Delete Stack** by running the following AWS CLI command
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation delete-stack \
Expand Down
12 changes: 6 additions & 6 deletions content/intermediate/templates/dynamic-references/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ aws ssm put-parameter \

5. いよいよスタックを作成しましょう! 以下の手順に従ってください。
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/dynamic-references` ディレクトリに移動します
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/dynamic-references` ディレクトリに移動します
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/dynamic-references
:::
Expand Down Expand Up @@ -148,8 +148,8 @@ aws ec2 describe-instances \
:::
2. データベーススタックをデプロイするには、以下の手順に従います。
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/dynamic-references` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/dynamic-references` ディレクトリに移動します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/dynamic-references
:::
Expand Down Expand Up @@ -196,8 +196,8 @@ aws ec2 describe-instances \
:::
1. Lambda スタックをデプロイするには、以下の手順に従います。
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. **Cloud9 ターミナル** で `code/workspace/dynamic-references` ディレクトリに移動します。
::::tab{id="code-editor" label="Code Editor"}
1. **Code Editor ターミナル** で `code/workspace/dynamic-references` ディレクトリに移動します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/dynamic-references
:::
Expand Down
12 changes: 6 additions & 6 deletions content/intermediate/templates/dynamic-references/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ With the dynamic reference above, you describe the intent of resolving the `LATE

5. It’s now time to create your stack! Follow steps below:
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/dynamic-references`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/dynamic-references`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/dynamic-references
:::
Expand Down Expand Up @@ -145,8 +145,8 @@ Let’s get started! Choose to follow steps shown next:
:::
2. To deploy the Database stack, follow the steps below:
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/dynamic-references`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/dynamic-references`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/dynamic-references
:::
Expand Down Expand Up @@ -193,8 +193,8 @@ Let’s get started! Choose to follow steps shown next:
:::
4. To Deploy the Lambda stack, follow the steps below:
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
1. In the **Cloud9 terminal** navigate to `code/workspace/dynamic-references`:
::::tab{id="code-editor" label="Code Editor"}
1. In the **Code Editor terminal** navigate to `code/workspace/dynamic-references`:
:::code{language=shell showLineNumbers=false showCopyAction=true}
cd cfn101-workshop/code/workspace/dynamic-references
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Resources:

次に、変更したテンプレートを使用して `us-east-1` リージョンに新しいスタックを作成します。
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. 次の AWS CLI コマンドを実行してスタックを作成します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -165,7 +165,7 @@ Dashboard:

パート 1 で作成した既存のスタックを更新します。そのためには、以下に示す手順を実施します。
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. 次の AWS CLI コマンドを実行して、スタック `cfn-workshop-language-extensions` を更新します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation update-stack \
Expand Down Expand Up @@ -221,7 +221,7 @@ CloudFormation テンプレートでダッシュボードを記述する時に
* チャレンジソリューションの全文は、`code/solutions/language-extensions` ディレクトリにある `language-extensions-solutions.yaml` というテンプレートにあります。

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. 次の AWS CLI コマンドを実行してスタックを作成しましょう。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -257,7 +257,7 @@ aws cloudformation wait stack-update-complete \

このラボで作成したリソースを削除します。以下の手順を実行してください。
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. 次の AWS CLI コマンドを実行して、スタック `cfn-workshop-language-extensions` を削除します。
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation delete-stack \
Expand Down
8 changes: 4 additions & 4 deletions content/intermediate/templates/language-extensions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Save the template file, and proceed to the next steps.

You'll now create a new stack, using the template you modified, in the `us-east-1` region.
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. Let's create a stack by running the following AWS CLI command.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -165,7 +165,7 @@ Save the template file, and proceed to the next steps.

You'll now update your existing stack that you created in Part 1. To do so, follow steps shown next:
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. Update the stack `cfn-workshop-language-extensions` by running the following AWS CLI command.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation update-stack \
Expand Down Expand Up @@ -221,7 +221,7 @@ Refer to the [CloudWatch Dashboard structure](https://docs.aws.amazon.com/Amazon
* You can find the full challenge solution in the template called `language-extensions-solution.yaml`, that is in the `code/solutions/language-extensions` directory.

:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. Let's create the stack by running the following AWS CLI command.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation create-stack \
Expand Down Expand Up @@ -257,7 +257,7 @@ aws cloudformation wait stack-update-complete \

You'll now tear down the resources you created in this lab. Use following steps:
:::::tabs{variant="container"}
::::tab{id="cloud9" label="Cloud9"}
::::tab{id="code-editor" label="Code Editor"}
1. Delete the stack `cfn-workshop-language-extensions` by running the following AWS CLI command.
:::code{language=shell showLineNumbers=false showCopyAction=true}
aws cloudformation delete-stack \
Expand Down
Loading