Skip to content

Instantly share code, notes, and snippets.

@danmurphy1217
Last active May 31, 2021 20:57
Show Gist options
  • Select an option

  • Save danmurphy1217/9da521e735ecbcbc9ab1d4c709c2272c to your computer and use it in GitHub Desktop.

Select an option

Save danmurphy1217/9da521e735ecbcbc9ab1d4c709c2272c to your computer and use it in GitHub Desktop.
Defining the Staging and Production Servers
const stagingServer = new aws.ec2.Instance("staging-3dvation", {
instanceType: serverSize,
vpcSecurityGroupIds: [securityGroup.id],
keyName: keyName,
ami: serverType.id,
});
const prodServer = new aws.ec2.Instance("prod-3dvation", {
instanceType: serverSize,
vpcSecurityGroupIds: [securityGroup.id],
keyName: keyName,
ami: serverType.id,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment