Skip to content

Commit a418838

Browse files
committed
Update CloudFormation examples to use us-west-2 region and remove production-ready language
- Changed all deploy.sh, cleanup.sh, and test.sh scripts from us-east-1 to us-west-2 - Updated all README files with CLI examples to use us-west-2 - Updated Python helper scripts (get_token.py, test_mcp_server.py) to use us-west-2 in examples - Updated multi-agent-runtime template.yaml default region to us-west-2 - Removed 'production-ready' language from README files, replaced with 'complete' - All 4 CloudFormation examples now consistently use us-west-2 region
1 parent 6035777 commit a418838

File tree

15 files changed

+31
-31
lines changed

15 files changed

+31
-31
lines changed

04-infrastructure-as-code/cloudformation/basic-runtime/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ aws cloudformation create-stack \
105105
--stack-name basic-agent-demo \
106106
--template-body file://template.yaml \
107107
--capabilities CAPABILITY_NAMED_IAM \
108-
--region us-east-1
108+
--region us-west-2
109109

110110
# Wait for stack creation
111111
aws cloudformation wait stack-create-complete \
112112
--stack-name basic-agent-demo \
113-
--region us-east-1
113+
--region us-west-2
114114

115115
# Get the Runtime ID
116116
aws cloudformation describe-stacks \
117117
--stack-name basic-agent-demo \
118-
--region us-east-1 \
118+
--region us-west-2 \
119119
--query 'Stacks[0].Outputs[?OutputKey==`AgentRuntimeId`].OutputValue' \
120120
--output text
121121
```
@@ -146,7 +146,7 @@ aws cloudformation describe-stacks \
146146
# Get the Runtime ID from stack outputs
147147
RUNTIME_ID=$(aws cloudformation describe-stacks \
148148
--stack-name basic-agent-demo \
149-
--region us-east-1 \
149+
--region us-west-2 \
150150
--query 'Stacks[0].Outputs[?OutputKey==`AgentRuntimeId`].OutputValue' \
151151
--output text)
152152

@@ -155,7 +155,7 @@ aws bedrock-agentcore invoke-agent-runtime \
155155
--agent-runtime-id $RUNTIME_ID \
156156
--qualifier DEFAULT \
157157
--payload '{"prompt": "What is 2+2?"}' \
158-
--region us-east-1 \
158+
--region us-west-2 \
159159
response.json
160160

161161
# View the response
@@ -225,12 +225,12 @@ chmod +x cleanup.sh
225225
```bash
226226
aws cloudformation delete-stack \
227227
--stack-name basic-agent-demo \
228-
--region us-east-1
228+
--region us-west-2
229229

230230
# Wait for deletion to complete
231231
aws cloudformation wait stack-delete-complete \
232232
--stack-name basic-agent-demo \
233-
--region us-east-1
233+
--region us-west-2
234234
```
235235

236236
### Using AWS Console

04-infrastructure-as-code/cloudformation/basic-runtime/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77

88
# Configuration
99
STACK_NAME="${1:-basic-agent-demo}"
10-
REGION="${2:-us-east-1}"
10+
REGION="${2:-us-west-2}"
1111

1212
echo "=========================================="
1313
echo "Cleaning up Basic Agent Runtime"

04-infrastructure-as-code/cloudformation/basic-runtime/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77

88
# Configuration
99
STACK_NAME="${1:-basic-agent-demo}"
10-
REGION="${2:-us-east-1}"
10+
REGION="${2:-us-west-2}"
1111
TEMPLATE_FILE="template.yaml"
1212

1313
echo "=========================================="

04-infrastructure-as-code/cloudformation/end-to-end-weather-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# End-to-End Weather Agent with Tools and Memory
22

3-
This CloudFormation template deploys a complete, production-ready Amazon Bedrock AgentCore Runtime with a sophisticated weather-based activity planning agent. This demonstrates the full power of AgentCore by integrating Browser tool, Code Interpreter, Memory, and S3 storage in a single deployment.
3+
This CloudFormation template deploys a complete Amazon Bedrock AgentCore Runtime with a sophisticated weather-based activity planning agent. This demonstrates the full power of AgentCore by integrating Browser tool, Code Interpreter, Memory, and S3 storage in a single deployment.
44

55
## Table of Contents
66

04-infrastructure-as-code/cloudformation/mcp-server-agentcore-runtime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The architecture consists of:
4747
### Key Features
4848

4949
* **One-Command Deployment** - Automated scripts handle everything
50-
* **Production-Ready** - Complete infrastructure as code
50+
* **Complete Infrastructure** - Full infrastructure as code
5151
* **Secure by Default** - JWT authentication with Cognito
5252
* **Automated Build** - CodeBuild creates ARM64 Docker images
5353
* **Easy Testing** - Automated test script included

04-infrastructure-as-code/cloudformation/mcp-server-agentcore-runtime/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
STACK_NAME="${1:-mcp-server-demo}"
7-
REGION="${2:-us-east-1}"
7+
REGION="${2:-us-west-2}"
88

99
echo "=========================================="
1010
echo "MCP Server Cleanup Script"

04-infrastructure-as-code/cloudformation/mcp-server-agentcore-runtime/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
STACK_NAME="${1:-mcp-server-demo}"
7-
REGION="${2:-us-east-1}"
7+
REGION="${2:-us-west-2}"
88

99
echo "=========================================="
1010
echo "MCP Server Deployment Script"

04-infrastructure-as-code/cloudformation/mcp-server-agentcore-runtime/get_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def main():
4040
print("Usage: python get_token.py <client_id> <username> <password> [region]")
4141
print("\nExamples:")
4242
print(" python get_token.py abc123xyz testuser MyPassword123!")
43-
print(" python get_token.py abc123xyz testuser MyPassword123! us-east-1")
43+
print(" python get_token.py abc123xyz testuser MyPassword123! us-west-2")
4444
sys.exit(1)
4545

4646
client_id = sys.argv[1]

04-infrastructure-as-code/cloudformation/mcp-server-agentcore-runtime/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
STACK_NAME="${1:-mcp-server-demo}"
7-
REGION="${2:-us-east-1}"
7+
REGION="${2:-us-west-2}"
88

99
echo "=========================================="
1010
echo "MCP Server Testing Script"

04-infrastructure-as-code/cloudformation/mcp-server-agentcore-runtime/test_mcp_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def main():
7979
print("Usage: python test_mcp_server.py <agent_arn> <bearer_token> <region>")
8080
print("\nExample:")
8181
print(
82-
" python test_mcp_server.py arn:aws:bedrock-agentcore:... eyJraWQiOiJ... us-east-1"
82+
" python test_mcp_server.py arn:aws:bedrock-agentcore:... eyJraWQiOiJ... us-west-2"
8383
)
8484
sys.exit(1)
8585

0 commit comments

Comments
 (0)