The 12 Factors to build Cloud Native Applications

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

Validata Release Coordinator Accelerated application delivery through automated end-to-end release management.
Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.
Computer Science 162 Section 1 CS162 Teaching Staff.
Platform as a Service (PaaS)
DNN LOVES JENKINS FOR CONTINUOUS INTEGRATION
Worker Role Web Role Web Role VM Role Control Abstraction (i.e. Less IT & Less Plumbing Code) Admin Web / Worker Role VM Role Web / Worker Role.
Automate Microsoft Azure Ross Sponholtz Mark Ghazai.
Windows Azure Conference 2014 Running Docker on Windows Azure.
2 © 2014 Pivotal Software, Inc. All rights reserved. 2 What Does Your Platform Do For You? Karun Bakshi Director, Product Marketing, Pivotal Cloud Foundry.
Microsoft Application Virtualization 5.0: Introduction Mohnish Chaturvedi & Ian Bartlett Premier Field Engineer WCL312.
2 © 2015 Pivotal Software, Inc. All rights reserved. 2 Removing Barriers Between Dev and Ops It Takes a Platform VMworld 1 September 2015 Cornelia.
Compatibility and Interoperability Requirements
4/24/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Presentation Name / 1 Visual C++ Builds and External Dependencies NAME.
Wordpress with Mina Automated Deployment Solution Jonathan Gravato DIG 4104c.
IBM Bluemix Ecosystem Development Hands on Workshop Section 1 - Overview.
Introduction To BlueMix By: Ryan
© Donald F. Ferguson, All rights reserved. Some Essentials for Modern Solution Development WSO2Con 2015 US Dr. Donald F. Ferguson
Paperless Timesheet Management Project Anant Pednekar.
Persistence – Iteration 4 Vancouver Bootcamp Aaron Zeckoski
Greg Simons 15/12/2015 Disclaimer: I am not affiliated directly with Cloud Foundry or the Cloud Foundry Foundation Getting started with.
Enables businesses achieve greater efficiency by sharing data and processes Shared application data across legal entities – Party, Location, Products,
Arizona SharePoint Professionals Group.
Structured Container Delivery Oscar Renalias Accenture Container Lead (NOTE: PASTE IN PORTRAIT AND SEND BEHIND FOREGROUND GRAPHIC FOR CROP)
當 Java 遇上 DevOps 黃忠成. Java In Azure Storage Table Storage Services NoSQL base storage Fast and Easy to use Blob Storage Services File Storage (photo,
Configuration Management, Continuous Integration, Continuous Delivery Revealed.
The Holmes Platform and Applications
Self-Contained Systems
Platform as a Service (PaaS)
Cloud Native Applications using Spring Cloud Netflix
Joonas Sirén, Technology Architect, Emerging Technologies Accenture
Containers as a Service with Docker to Extend an Open Platform
Java Microservices in the cloud
Platform as a Service (PaaS)
OpenLegacy Training Day Four Introduction to Microservices
Deploying Services with BOSH
Deploy, Manage, and Scale Your Apps with OpsWorks, Elastic Beanstalk, and CodeDeploy Part 1 – Elastic Beanstalk © 2017 Amazon Web Services, Inc. and.
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
DEV-25: You've Got a Problem, Here’s How to Find It
In-Depth Introduction to Docker
Spark Presentation.
Modern Architectures in Cloud
Platform as a Service.
NGAP: Compliance as a Service in the Public Cloud
Version Control System using Git
Distributed Service Bundles
Introduction to Microservices Prepared for
Service Fabric Patterns & Best Practices
Implementing Cloud Foundry Series. Livecast #2.
CLOUD COMPUTING Presented By:- EduTechlearners
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
MVC in ASP.NET Core: The new kid on the block
Build a 12 factor microservice in half an hour
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
X in [Integration, Delivery, Deployment]
Microservices on application container cloud service
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Simplified Development Toolkit
Automated Testing and Integration with CI Tool
Google App Engine Ying Zou 01/24/2016.
An Introduction to Software Architecture
JOINED AT THE HIP: DEVSECOPS AND CLOUD-BASED ASSETS
Presented by : Chirag Dani & Dhaval Shah
Microsoft Virtual Academy
TechEd /23/2019 9:23 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Azure Container Service
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Your .NET App Won’t Scale
ONAP Architecture Principle Review
Presentation transcript:

The 12 Factors to build Cloud Native Applications > A methodology for building Software as a Service applications > Originated fromt engineers working at Heroku > A focus on stateless applications suitable for modern cloud platforms Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native The 12 Factors > Codebase > Dependencies > Config > Backing services > Build, release, run > Processes > Port binding > Concurrency > Disposability > Dev/prod parity > Logs > Admin processes Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Codebase What > Each codebase must be stored in version control > One-to-one relationship between application and codebase > One-to-many relationship between codebase and deploys Why > To support collaboration between developers and teams > To enable proper versioning How > Git, Subversion, Mercurial, etc. Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Dependencies What > Explicitly declare and isolate application dependencies > Use a declaration manifest that’s stored with the codebase > Use a dependency isolation tool during application execution Why > Provides consistency between dev/prod environments > Simplifies setup for developers new to the application > Supports portability between cloud platforms How > Nuget Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Config What > Ensure strict separation between code and configuration > Store configuration in environment variables Why > Modify application behaviour without making code changes > Simplifies deployment to multiple environments > Reduce risk of leaking credentials and passwords How > Extract all application config to environment variables > cf set-env Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Backing Services What > Treat backing services (E.g. MySQL) as attached resources > Make no distinction between local and third party services > Attach resources via URLs stored in the app’s config Why > Provides loose coupling between service and deployment > No code changes required to update backing services > Allows operators to swap services out as they see fit How > cf marketplace, cf create/bind-service Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Build, Release, Run What > Strictly separate the build, release and run stages Why > To prevent changes to code and/or configuration at runtime … > … which in turn lowers the number of unexpected failures How > cf push Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Processes What > Execute the app as one or more stateless processes > Ensure all stateful data is stored in a backing service Why > Reduce deployment complexity > Reduce operational complexity > Allow for much simpler scaling How > Store any stateful data in backing services > Do not use sticky sessions or the local filesystem! Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Concurrency What > Scale out via the process model > Treat processes as first class citizens > Do not daemonize processes or attempt to write PID files Why > Allows for easy, horizontal scaling How > Split app into separate, runnable processes > Scale independently Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Disposability What > Maximise robustness via fast startup and graceful shutdown > Treat app instances as cattle, not pets > Be resilient to unexpected and sudden shutdowns (SIGKILL) Why > To facilite fast, elastic scaling > To allow for rapid deployment of new code/config changes > Provide robustness in production deployments How > Minimise work on startup, don’t depend on shutdown hooks Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Dev/prod Parity What > Keep development, staging and production deploys as similar as possible Why > Lower risk of unexpected errors / downtime in production > To support continues deployment How > Ensure the same backing services are used for all deployments > Ensure a solid Continues Integration pipeline > Deploy to production as often as possible Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Logs What > Treat logs as event streams > Log to stdout and stderr only > Do not think about storage of logs at all Why > To make logging a platform concern, not a developer concern > Improved flexibility for introspecting behaviour over time How > log to stdout/stderr only, cf logs Pivotal Cloud Foundry 12 steps to Cloud Native

Pivotal Cloud Foundry 12 steps to Cloud Native Admin Processes What > Run admin/management tasks as one-off processes > Store code for admin tasks with the app’s codebase > E.g. One-off debug tasks, REPL access to production Why > Safely support debugging/admin of production applications How > cf run-task Pivotal Cloud Foundry 12 steps to Cloud Native