- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Provision your AWS EC2-VPC ElastiCache cluster within the AWS ECS-VPC platform.
Using the EC2-Classic platform minimizes control over cache cluster security and traffic routing. Provisioning with AWS EC2-VPC enables better networking infrastructure, control over VPC security groups, and more.
Follow the Getting started with Amazon VPC docs to configure AWS EC2-VPC for your ElastiCache clusters.
create-vpc
to create a new Virtual Private Cloud (VPC) for your ElastiCache cluster.create-vpc.sh
aws ec2 create-vpc
--cidr-block 10.0.0.0/16
Run aws ec2 create-internet-gateway
to create a new AWS Internet Gateway for your new VPC.
Run attach-internet-gateway
with the VPC ID returned in step 1, and the internet gateway ID returned in step 2.
create-subnet.sh
aws ec2 create-subnet
--vpc-id vpc-ab12c345
--cidr-block 10.0.1.0/24
create-route-table
with your VPC ID created in step 1.create-route-table.sh
aws ec2 create-route-table
--vpc-id vpc-ab12c345
associated-route-table
with the subnet ID returned in step 3, and the route table ID returned in step 4.associate-route-table.sh
aws ec2 associate-route-table
--route-table-id rta-12345678
--subnet-id subnet-ab123c45
create-route
to add a new route to your new VPC route table.create-route.sh
aws ec2 create-route
--route-table-id rta-12345678
--destination-cidr-block 0.0.0.0/0
--gateway-id gwi-123a4b56
create-security-group
with your new VPC ID to create a security group for your new cluster.create-security-group.sh
aws ec2 create-security-group
--group-name ECSecurityGroup
--description "Redis CC Security Group"
--vpc-id vpc-ab12c345
authorize-security-group-ingress
to add more inbound rules to the security group created in step 7.authorize-security-group-ingress.sh
aws ec2 authorize-security-group-ingress
--group-id se-a12345b0
--protocol tcp
--port 1234
--cidr 10.0.0.0/16
create-cache-cluster
to recreate your EC2-Classic cache cluster within your new AWS VPC. Use the newly created ElastiCache cluster configuration attributes returned in the steps above.create-cache-cluster.sh
aws elasticache create-cache-cluster
--cache-cluster-id vpccachecluster
--az-mode single-az
--cache-node-type cache.m5.large
--num-cache-nodes 1
--engine redis
--engine-version "2.6.13"
--security-group-ids "se-a12345b0"
--port 1234
--auto-minor-version-upgrade