# AWS Beanstalk Blue and Green Deploy

**URL:** <https://community.dynatrace.com/t/aws-beanstalk-blue-and-green-deploy/13691>\
**Category:** Cloud platforms\
**Tags:** aws\
**Created:** [July 12, 2018, 8:46pm UTC](https://community.dynatrace.com/t/aws-beanstalk-blue-and-green-deploy/13691 "2018-07-12T20:46:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xmodefhs](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xmodefhs](https://community.dynatrace.com/u/xmodefhs)\
**Post date:** [July 12, 2018, 8:46pm UTC](https://community.dynatrace.com/t/aws-beanstalk-blue-and-green-deploy/13691/1 "2018-07-12T20:46:16Z")

</div>

We are using Dynatrace to monitoring our Beanstalk application, my problem is we are using Blue and Green Deploy process where I have two environment, but one is clone. How can I work with Dynatrace to disable a set of agents when I swap my environement?

---

<div class="post-metadata">

**Author:** ![michal\_nalezin](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michal_nalezin/32/13700_2.png) [@michal\_nalezin](https://community.dynatrace.com/u/michal_nalezin)\
**Post date:** [March 11, 2019, 4:36pm UTC](https://community.dynatrace.com/t/aws-beanstalk-blue-and-green-deploy/13691/2 "2019-03-11T16:36:27Z")

</div>

For the AWS services instances that you cannot run OneAgent on (like DynamoDB, EBS etc) you could swap the tags which you use for limiting Dynatrace monitoring.
