0

We have a particularly unique situation so I will try to be as clear as I can be.

We've a sales cloud(AWS) which UAT team uses for testing and another separate account for production. I want to know what steps we would need to perform to make sure that the UAT environment mimics the production environment so that we can maximize your chances of finding any bugs. Note : Sales cloud is used by UAT teams for testing other products also.(Shared Environment). Instances are launched by other applications also(Multiple tomcats on single instance) I created prod DB AMI and gave it to QA team for testing before release but it didn't work later I found out that due to some sort of restriction we can't use encrypted volumes AMI created in one account to some other account in VPC.

Could someone please provide any suggestion?

Cloudnewbie
  • 71
  • 1
  • 6

1 Answers1

0

Creating identical copies of whole environments is a task quite suited for AWS CloudFormation: http://aws.amazon.com/cloudformation/

Using AWS CloudFormation, you can define your stack in a json template, and CloudFormation can create, update and delete all resources in the stack. It does so atomically and in parallel, along many other features.

There are tools from AWS and 3rd parties, such as CloudFormer and VisualOps, that can help to author CloudFormation templates. There are also sample templates as reference: http://aws.amazon.com/cloudformation/aws-cloudformation-templates/

To get started with AWS CloudFormation, besides the resources in the AWS website, i'd recommend taking this free lab: https://run.qwiklab.com/focuses/preview/1379?locale=en&search=3573

Julio Faerman
  • 13,228
  • 9
  • 57
  • 75
  • Thanks for your suggestion. I explored CloudFormation today. I guess I need to first create an AMI of the production DB and then use that AMI ID in the CloudFormation template to deploy the DB instance using that AMI ID in the Dev environment. Although, I still have one doubt, as EBS volumes of EC2 DB instances are encrypted, will it work in the Dev Env? – Cloudnewbie Jun 12 '15 at 18:38
  • That depends, you can also use a user-data script or a management tool (chef, puppet, ...) with the existing AMIs. You can use encrypted volumes in Dev, but they would be separate volumes, i don't think i got this last question, consider opening a new one with more details... – Julio Faerman Jun 13 '15 at 14:53