Summary

You now have a much deeper understanding and some practical experience of manually deploying your serverless stack in a repeatable and consistent way using infrastructure-as-code principles. You can adapt these for your organization's serverless microservice needs. You know the service deployment options and you used the AWS CLI to create a bucket, IAM roles, and IAM policies, as well as the AWS SAM to deploy the API Gateway, Lambda, and DynamoDB. You also saw how you can easily modify the SAM template file to propagate changes throughout the stack. The full Python source code, IAM policies, roles, Linux, and shell scripts are provided with this book so you can adapt it for your needs. You can now take advantage of them without having to use the AWS management console GUI manually, and only need to modify the scripts when deploying other serverless microservices.

Now that we have shown you how to deploy the stacks, it's really important that you know the code is functioning and performing as expected, especially as the code base grows and will be used in a production environment. We have not yet covered the mechanism for automated deployment and testing. So, in the next chapter, we are going to discuss and walk through the different types of testing you should use on your serverless microservice.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset