Deployment and security considerations
When deploying our applications in serverless services such as Cloud Functions or App Engine, it is important to consider factors such as location and good security practices, in order to improve the user experience, reduce costs, and avoid incidents related to the poor configuration of security policies.
In this section, we will review what aspects to take care of to avoid having such problems when our applications are deployed in the cloud.
Location considerations
Both Cloud Functions and App Engine are regional services, so it is necessary to consider in which region we are going to deploy our application so as to reduce latencies between our application and its users and/or other services that it will consume or be consumed by. If we deploy our service in a different region than the one where it is located, we will have latency problems and could also have cost increases due to the use of bandwidth between regions. This is why it...