Sign in to the AWS Management Console

Open the CloudFormation console

On the Create stack page
drs-workshop-infra.yaml.
On the Specify stack details page
EDRW.| Parameter | Default | Meaning |
|---|---|---|
LatestAmiId |
/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-6.1-x86_64 |
Latest Amazon Linux 2023 AMI using kernel 6.1. The kernel-default AMI now boots with kernel 6.18, while DRS supports Amazon Linux 2023 only up to kernel 6.12, so the replication agent cannot be installed on that AMI. |
InstanceType |
t3.small |
Instance type of the two source servers (t3.small or t3.medium). |
RootVolumeSize |
10 |
Root EBS volume size of each source server, in GiB (10–30). |

On the Configure stack options page
drs-workshop-recovery-instance-profile with a fixed name.
On the Review and create page

After about 5–15 minutes, the EDRW stack changes to CREATE_COMPLETE
CREATE_COMPLETE means the applications are ready.
Open the Outputs tab of the stack
WebServerInstanceId, DbServerInstanceId: instance ID of the web server and database serverSourcePrivateSubnetId: Source Private subnet of the source VPCDrsStagingSubnetId: DRS Staging subnet for DRS replication serversTargetPrivateSubnetId: Target Private subnet for drill and recovery instancesTargetSecurityGroupId: TargetSecurityGroup security group for drill and recovery instancesRecoveryInstanceProfileName: drs-workshop-recovery-instance-profile instance profile for drill and recovery instancesWordPressPrivateUrl: http://wordpress-web.onpremsim.env/ (reachable only from inside the VPC)WordPressDbSecretArn: ARN of the secret in Secrets Manager containing the WordPress database passwordWebSessionCommand, DbSessionCommand: aws ssm start-session commands ready to use in AWS CloudShellEDRW-wordpress-db), so the lab uses no fixed password. WordPress also gets its own random keys and salts when the web server starts. As a lab tradeoff, CloudFormation writes the resolved database password to the instance user data, and anyone who can read instance attributes can see it.
(Optional) Open the Resources tab of the stack
| Resource | Name | Details |
|---|---|---|
| Source VPC (simulated data center) | onpremsim-source-vpc |
10.0.0.0/16, internet gateway |
| Source subnets | Source Public, Source Private |
10.0.0.0/24 (NAT gateway only), 10.0.1.0/24 (servers) |
| Recovery VPC | drs-recovery-vpc |
10.0.0.0/16 (same CIDR as source VPC intentionally; the VPCs are not connected), internet gateway |
| Recovery subnets | DRS Staging, DR Public, Target Private |
10.0.100.0/24 (replication server), 10.0.200.0/24 (NAT gateway only), 10.0.1.0/24 (drill instance) |
| NAT gateways | onpremsim-source-nat, drs-recovery-nat |
One NAT gateway per VPC, each with an Elastic IP |
| Security groups (Name tag) | onpremsim-web-sg, onpremsim-db-sg, TargetSecurityGroup |
HTTP 80 and MySQL 3306 only, no inbound management ports. The first two have generated group names such as EDRW-WebSecurityGroup-... |
| EC2 instances | wordpress-web.onpremsim.env, wordpress-db.onpremsim.env |
Amazon Linux 2023, 10.0.1.10 (Apache/PHP + WordPress) and 10.0.1.20 (MariaDB) |
| Route 53 private hosted zone | onpremsim.env |
Associated with both VPCs, A records wordpress-web and wordpress-db |
| Secrets Manager secret | EDRW-wordpress-db |
WordPress database password |
| IAM role + instance profile | source server role, drs-workshop-recovery-instance-profile |
Source servers: AmazonSSMManagedInstanceCore only. Drill instances: AmazonSSMManagedInstanceCore + AWSElasticDisasterRecoveryRecoveryInstancePolicy |
