What are some effective ways to test AWS services after deployment?

0
8
Asked By TechieTurtle92 On

I'm able to perform unit testing on my functions locally, but I want to incorporate testing that actually evaluates my deployed code on AWS, ideally using a canary instance. I'm looking for existing solutions rather than creating a custom testing framework from scratch. Are there any tools or methods people recommend?

3 Answers

Answered By DevDynamo42 On

You might find this helpful! Our team set up self-hosted runners with the actions runner controller in GitHub and EKS. They run in a pre-production environment to trigger workflows for builds, vulnerability testing, and integration tests across the microservices whenever a pull request is created. Just a heads up, if your networking or security setup is complex, you might run into some challenges.

Answered By BuildBot73 On

Another option is to package your application with the Cloud Development Kit (CDK). You can differentiate between production and canary deployments by using different accounts or context variables. After testing, just tear everything down. It's a solid way to manage your deployments!

Answered By CloudCrafter88 On

Running tests in a staging environment worked for us. I've heard great things about using the AWS Serverless Application Model (SAM) for this. You can check their official documentation on how to use it for testing. It might have what you need!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.