Book Image

Building Serverless Microservices in Python

By : Richard Takashi Freeman
Book Image

Building Serverless Microservices in Python

By: Richard Takashi Freeman

Overview of this book

Over the last few years, there has been a massive shift from monolithic architecture to microservices, thanks to their small and independent deployments that allow increased flexibility and agile delivery. Traditionally, virtual machines and containers were the principal mediums for deploying microservices, but they involved a lot of operational effort, configuration, and maintenance. More recently, serverless computing has gained popularity due to its built-in autoscaling abilities, reduced operational costs, and increased productivity. Building Serverless Microservices in Python begins by introducing you to serverless microservice structures. You will then learn how to create your first serverless data API and test your microservice. Moving on, you'll delve into data management and work with serverless patterns. Finally, the book introduces you to the importance of securing microservices. By the end of the book, you will have gained the skills you need to combine microservices with serverless computing, making their deployment much easier thanks to the cloud provider managing the servers and capacity planning.
Table of Contents (13 chapters)
Title Page
Dedication

Cleaning-up

You will need to delete the resources manually. I recommend you use the AWS Console to do so. Perform the following steps:

  1. Deleting API Gateway:
    1. Log on to the Console at https://console.aws.amazon.com/apigateway/
    2. Choose Resource under metrics on the left-hand APIs menu
    3. Choose Delete API from the Actions drop-down menu
    4. Type metrics in the Enter the name of the API before confirming this action textbox
    5. Choose Delete API
  2. Deleting the DynamoDB table:
    1. Log on to the Console at https://console.aws.amazon.com/dynamodb/
    2. Choose Tables on the left-hand DynamoDB menu
    3. Choose user-visits
    4. Choose Delete table
    5. Choose Delete
  1. Deleting the Lambda function:
    1. Log on to the Console at https://console.aws.amazon.com/lambda/
    2. Choose Functions on the left-hand AWS Lambda menu
    3. Choose lambda-dynamo-data-api
    4. Choose Delete function under the Actions menu
    5. Choose Delete
  2. Deleting...