0% found this document useful (0 votes)
7 views

google cloud App Eng notes

Google Cloud App Engine is a fully managed, serverless platform that allows developers to build and deploy scalable applications without managing infrastructure. It offers two environments (Standard and Flexible) with various scaling options and traffic management features to optimize application performance. Key functionalities include automatic scaling, customizable runtimes, and traffic splitting for effective version control.

Uploaded by

Nishith S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

google cloud App Eng notes

Google Cloud App Engine is a fully managed, serverless platform that allows developers to build and deploy scalable applications without managing infrastructure. It offers two environments (Standard and Flexible) with various scaling options and traffic management features to optimize application performance. Key functionalities include automatic scaling, customizable runtimes, and traffic splitting for effective version control.

Uploaded by

Nishith S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Google Cloud App Engine is a fully managed, serverless platform that enables developers to

build and deploy highly scalable applications without managing underlying infrastructure. It
supports popular programming languages and frameworks, allowing for rapid development
and deployment.​

Key Features of App Engine:

●​ Platform as a Service (PaaS): App Engine abstracts infrastructure management,


enabling developers to focus solely on code and application logic.​​

●​ Scalability: Applications can scale seamlessly from zero to planet-scale, handling


varying traffic loads efficiently.​​

●​ Regional Deployment: App Engine applications are deployed regionally, ensuring


redundancy and high availability across multiple zones within the chosen region.​​

●​ Microservices Architecture: App Engine is well-suited for applications designed


using a microservices architecture, promoting modular development and deployment.​​

●​ Default Cloud Storage Bucket: Upon app creation, App Engine automatically
provisions a default bucket in Cloud Storage for the application.​​

App Engine Environments:

App Engine offers two primary environments:

1.​ Standard Environment:​

○​ Sandboxed Environment: Runs applications in a secure, sandboxed


environment with support for specific language versions.​​

○​ Automatic Scaling: Automatically scales instances based on request rate


and other application metrics.​​

○​ Instance Lifecycle: Instances are created on-demand and can be shut down
when idle.​​

2.​ Flexible Environment:​

○​ Customizable Runtimes: Supports custom runtimes using Docker


containers, allowing for greater flexibility.​​

○​ Manual and Automatic Scaling: Offers both manual and automatic scaling
options based on application needs.​​
○​ Persistent Instances: Instances run on virtual machines that can maintain
state over time.​​

App Engine Scaling Types:

App Engine supports different scaling types to manage how instances are created and
managed:

●​ Basic Scaling (Standard Environment Only):​

○​ Instance Creation: Instances are created when the application receives


requests.​​

○​ Instance Shutdown: Instances are shut down when the application becomes
idle.​​

○​ Use Case: Ideal for work that is intermittent or driven by user activity.​​

●​ Automatic Scaling:​

○​ Instance Management: Creates instances based on request rate, response


latencies, and other application metrics.​​

○​ Configuration: Allows specification of thresholds for metrics and a minimum


number of instances to keep running.​​

●​ Manual Scaling:​

○​ Fixed Instances: Specifies a fixed number of instances that continuously run


regardless of load.​​

○​ Use Case: Suitable for tasks requiring complex initializations or applications


that rely on in-memory state over time.​​

Managing Traffic in App Engine:

App Engine provides mechanisms to manage traffic to different versions of an application:

●​ Traffic Migration:​

○​ Purpose: Smoothly switches request routing from current versions to


specified versions.​​

○​ Standard Environment: Allows immediate or gradual routing of requests to


the target version.​​
○​ Flexible Environment: Supports only immediate traffic migration.​​

●​ Traffic Splitting:​

○​ Purpose: Distributes a percentage of traffic across multiple versions of the


application.​​

○​ Use Cases: Enables canary deployments and A/B testing, providing control
over feature rollouts.​​

○​ Configuration: Traffic can be split by IP address or HTTP cookie, with


cookie-based splitting offering more precise control.​​

○​ Implementation: Deploy a new version using gcloud app deploy


--no-promote, then set traffic splits with gcloud app services
set-traffic using the --splits flag to define version weights.​​

By leveraging these features, developers can effectively build, deploy, and manage scalable
applications on Google Cloud App Engine.

You might also like