SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
DevOps with Cloud Foundry
April 11, 2017
Agenda
- Introduction
- PaaS: What it brings to the table for DevOps
- Cloud Foundry Overview
- Demo
- Continuous Delivery with Cloud Foundry
What is Meshcloud?
Public Cloud Platform: IaaS + PaaS
Open-Source: OpenStack + Cloud Foundry
European: Federation of local Service Providers
What is Meshcloud?
A typical SaaS Application Architecture
Microservice A Microservice B
Message Queue
Cluster
Database
Cluster
HA Load Balancer
A typical SaaS Application Architecture
Microservice A Microservice B
Message Queue
Cluster
Database
Cluster
HA Loadbalancer
99%
99% 99%
99%
99%
0,995
= 95% → 1h 12m Downtime per Day
Platform as a Service - Why Care?
DevOps Goals
● Zero Downtime
● Failure Handling & Recovery
● Automated Scalability
● Security & Patching
● Fast and reliable Deployments
● Supportable (Logging, Metrics)
● … while maintaining Developer
Productivity
Cloud Foundry takes care of it.
Cloud Foundry
PaaS, based on a container architecture
2 ways to deploy containers
Buildpacks for most languages Bring your own runC Container
Further Benefits:
● High-Availability Load Balancers
● Service Brokers for persistent services (Databases, Message Queues, etc.)
● Takes care of Failure & Recovery
→ Enables highly available applications, with minimal effort
CF builds, distributes and scales your containers
Platform Overview - Runtime Architecture
Source: https://www.cloudfoundry.org/platform/, https://docs.cloudfoundry.org/services/overview.html
Demo
Continuous Deployment with Cloud Foundry
● Cloud Foundry has lots of “Batteries Included”
○ Infrastructure as Code
■ CF CLI automation (manifest files)
■ CF API automation (e.g. auto-scaling)
○ Use Blue/Green Deployments
■ High availability during deployment
■ Guards against failed deployments (e.g. App does not start)
○ Builtin Loadbalancer with TLS Termination
○ Managed Application Services with Databases etc.
○ Builtin logging infrastructure
● Automate Deployments to Dev / Staging / Prod
○ Identical environments in different cf spaces
○ Control App Configuration via Environment Variables
● Deploy fast, deploy often
○ typically > 10 times per day to Dev
○ typically > 1 times per day to Prod
○ => Fast Feedback Loop!
● Diagnose production issues with logs, ssh & monitoring
○ collect logs via syslog drain
○ monitor e.g. via ELK Stack
Continuous Deployment with Cloud Foundry
Excursion: Concourse CI
● All Container-based CI
● Just three Core Concepts
○ Tasks: Execution of a script in an isolated environment (= container)
○ Resources: Anything that can serve as versioned Input/Output
○ Jobs: Connect Tasks + Resources
■ Think: function with Input/Output (Job->Job = Pipeline)
Cloud Foundry in the DevOps Ecosystem
● CF readily automates many common DevOps Tasks
○ Ideal for teams with lots of “dev” but little “ops” experience
● Make your own Control vs. Comfort Tradeoffs
■ Container vs. Buildpack Deployments
■ Container-to-Container Networking vs. shared Networking
● CF vs. Kubernetes
○ “Batteries included” vs. “just orchestration”
○ Both have their place and are converging on many features
■ CF is moving “down the stack” (e.g. container-to-container networking)
■ Kubernetes is moving “up the stack” (e.g. adoption of Service Broker API)
Thank you!
Johannes Rudolph
jrudolph@meshcloud.io
www.meshcloud.io
@meshstack
@meshstack
Links
● https://concourse.ci/
● https://www.cloudfoundry.org/
● Blue/Green Deployments:
https://docs.cloudfoundry.org/devguide/deploy-apps/blue-green.html
● Access Applications via SSH:
https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html
● Samples used:
○ https://github.com/cloudfoundry-samples/test-app
○ https://github.com/cloudfoundry-samples/spring-music

Weitere ähnliche Inhalte

Was ist angesagt?

Stas Kolenkin & Taras Bobalo - CloudFlare Recon Workshop
Stas Kolenkin & Taras Bobalo - CloudFlare Recon WorkshopStas Kolenkin & Taras Bobalo - CloudFlare Recon Workshop
Stas Kolenkin & Taras Bobalo - CloudFlare Recon Workshop
NoNameCon
 

Was ist angesagt? (20)

AWS Lambda and serverless Java | DevNation Live
AWS Lambda and serverless Java | DevNation LiveAWS Lambda and serverless Java | DevNation Live
AWS Lambda and serverless Java | DevNation Live
 
Using Redis as Distributed Cache for ASP.NET apps - Peter Kellner, 73rd Stre...
 Using Redis as Distributed Cache for ASP.NET apps - Peter Kellner, 73rd Stre... Using Redis as Distributed Cache for ASP.NET apps - Peter Kellner, 73rd Stre...
Using Redis as Distributed Cache for ASP.NET apps - Peter Kellner, 73rd Stre...
 
Deploying Kong with Mesosphere DC/OS
Deploying Kong with Mesosphere DC/OSDeploying Kong with Mesosphere DC/OS
Deploying Kong with Mesosphere DC/OS
 
COSCUP 2017 - infrastructure As Code
COSCUP 2017 - infrastructure As Code COSCUP 2017 - infrastructure As Code
COSCUP 2017 - infrastructure As Code
 
Docker Summit 2016 - Kubernetes: Sweets and Bitters
Docker Summit 2016 - Kubernetes: Sweets and BittersDocker Summit 2016 - Kubernetes: Sweets and Bitters
Docker Summit 2016 - Kubernetes: Sweets and Bitters
 
Making Service Deployments to AWS a breeze with Nova
Making Service Deployments to AWS a breeze with NovaMaking Service Deployments to AWS a breeze with Nova
Making Service Deployments to AWS a breeze with Nova
 
基於 K8S 開發的 FaaS 專案 - riff
基於 K8S 開發的 FaaS 專案 - riff基於 K8S 開發的 FaaS 專案 - riff
基於 K8S 開發的 FaaS 專案 - riff
 
Weave Cortex: Multi-tenant, horizontally scalable Prometheus as a Service
Weave Cortex: Multi-tenant, horizontally scalable Prometheus as a ServiceWeave Cortex: Multi-tenant, horizontally scalable Prometheus as a Service
Weave Cortex: Multi-tenant, horizontally scalable Prometheus as a Service
 
9th docker meetup 2016.07.13
9th docker meetup 2016.07.139th docker meetup 2016.07.13
9th docker meetup 2016.07.13
 
Stas Kolenkin & Taras Bobalo - CloudFlare Recon Workshop
Stas Kolenkin & Taras Bobalo - CloudFlare Recon WorkshopStas Kolenkin & Taras Bobalo - CloudFlare Recon Workshop
Stas Kolenkin & Taras Bobalo - CloudFlare Recon Workshop
 
[GID Live] Open-Source Cloud-Native Programming Language
[GID Live] Open-Source Cloud-Native Programming Language[GID Live] Open-Source Cloud-Native Programming Language
[GID Live] Open-Source Cloud-Native Programming Language
 
European SharePoint Conference - TH3
European SharePoint Conference - TH3European SharePoint Conference - TH3
European SharePoint Conference - TH3
 
A Cassandra driver from and for the Lua community
A Cassandra driver from and for the Lua communityA Cassandra driver from and for the Lua community
A Cassandra driver from and for the Lua community
 
Serverless Workflow: New approach to Kubernetes service orchestration | DevNa...
Serverless Workflow: New approach to Kubernetes service orchestration | DevNa...Serverless Workflow: New approach to Kubernetes service orchestration | DevNa...
Serverless Workflow: New approach to Kubernetes service orchestration | DevNa...
 
Session Slides from DEVintersection Europe
Session Slides from DEVintersection EuropeSession Slides from DEVintersection Europe
Session Slides from DEVintersection Europe
 
Persistent, Portable Storage for Docker Containers and Microservices
Persistent, Portable Storage  for Docker Containers and MicroservicesPersistent, Portable Storage  for Docker Containers and Microservices
Persistent, Portable Storage for Docker Containers and Microservices
 
Concourse - CI for the cloud
Concourse - CI for the cloudConcourse - CI for the cloud
Concourse - CI for the cloud
 
My session slides from unityConnect 2016 in Haarlem
My session slides from unityConnect 2016 in HaarlemMy session slides from unityConnect 2016 in Haarlem
My session slides from unityConnect 2016 in Haarlem
 
"Messaging with Quarkus"
"Messaging with Quarkus""Messaging with Quarkus"
"Messaging with Quarkus"
 
From AWS to GCP, TABLEAPP Architecture Story
From AWS to GCP, TABLEAPP Architecture StoryFrom AWS to GCP, TABLEAPP Architecture Story
From AWS to GCP, TABLEAPP Architecture Story
 

Ähnlich wie DevOps and Continuous Delivery with CloudFoundry

Ähnlich wie DevOps and Continuous Delivery with CloudFoundry (20)

Continuous delivery and DevOps with CloudFoundry
Continuous delivery and DevOps with CloudFoundryContinuous delivery and DevOps with CloudFoundry
Continuous delivery and DevOps with CloudFoundry
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
 
Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
 
Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...
Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...
Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...
 
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry MeetupPivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
 
Pivotal CloudFoundry on Google cloud platform
Pivotal CloudFoundry on Google cloud platformPivotal CloudFoundry on Google cloud platform
Pivotal CloudFoundry on Google cloud platform
 
DIMT 2023 SG - Hands-on Workshop_ Getting started with Confluent Cloud.pdf
DIMT 2023 SG - Hands-on Workshop_ Getting started with Confluent Cloud.pdfDIMT 2023 SG - Hands-on Workshop_ Getting started with Confluent Cloud.pdf
DIMT 2023 SG - Hands-on Workshop_ Getting started with Confluent Cloud.pdf
 
Pivotal Container Service Overview
Pivotal Container Service Overview Pivotal Container Service Overview
Pivotal Container Service Overview
 
Next gen software operations models in the cloud
Next gen software operations models in the cloudNext gen software operations models in the cloud
Next gen software operations models in the cloud
 
OCP Datacomm RedHat - Kubernetes Launch
OCP Datacomm RedHat - Kubernetes LaunchOCP Datacomm RedHat - Kubernetes Launch
OCP Datacomm RedHat - Kubernetes Launch
 
Elevating your Continuous Delivery Strategy Above the Rolling Clouds
Elevating your Continuous Delivery Strategy Above the Rolling CloudsElevating your Continuous Delivery Strategy Above the Rolling Clouds
Elevating your Continuous Delivery Strategy Above the Rolling Clouds
 
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
 
Web後端技術的演變
Web後端技術的演變Web後端技術的演變
Web後端技術的演變
 
Modern application delivery with Consul
Modern application delivery with ConsulModern application delivery with Consul
Modern application delivery with Consul
 
AWS in Practice
AWS in PracticeAWS in Practice
AWS in Practice
 
Introduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OSIntroduction to Apache Mesos and DC/OS
Introduction to Apache Mesos and DC/OS
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

DevOps and Continuous Delivery with CloudFoundry

  • 1. DevOps with Cloud Foundry April 11, 2017
  • 2. Agenda - Introduction - PaaS: What it brings to the table for DevOps - Cloud Foundry Overview - Demo - Continuous Delivery with Cloud Foundry
  • 3. What is Meshcloud? Public Cloud Platform: IaaS + PaaS Open-Source: OpenStack + Cloud Foundry European: Federation of local Service Providers
  • 5. A typical SaaS Application Architecture Microservice A Microservice B Message Queue Cluster Database Cluster HA Load Balancer
  • 6. A typical SaaS Application Architecture Microservice A Microservice B Message Queue Cluster Database Cluster HA Loadbalancer 99% 99% 99% 99% 99% 0,995 = 95% → 1h 12m Downtime per Day
  • 7. Platform as a Service - Why Care? DevOps Goals ● Zero Downtime ● Failure Handling & Recovery ● Automated Scalability ● Security & Patching ● Fast and reliable Deployments ● Supportable (Logging, Metrics) ● … while maintaining Developer Productivity Cloud Foundry takes care of it.
  • 8. Cloud Foundry PaaS, based on a container architecture 2 ways to deploy containers Buildpacks for most languages Bring your own runC Container Further Benefits: ● High-Availability Load Balancers ● Service Brokers for persistent services (Databases, Message Queues, etc.) ● Takes care of Failure & Recovery → Enables highly available applications, with minimal effort CF builds, distributes and scales your containers
  • 9. Platform Overview - Runtime Architecture Source: https://www.cloudfoundry.org/platform/, https://docs.cloudfoundry.org/services/overview.html
  • 10. Demo
  • 11. Continuous Deployment with Cloud Foundry ● Cloud Foundry has lots of “Batteries Included” ○ Infrastructure as Code ■ CF CLI automation (manifest files) ■ CF API automation (e.g. auto-scaling) ○ Use Blue/Green Deployments ■ High availability during deployment ■ Guards against failed deployments (e.g. App does not start) ○ Builtin Loadbalancer with TLS Termination ○ Managed Application Services with Databases etc. ○ Builtin logging infrastructure
  • 12. ● Automate Deployments to Dev / Staging / Prod ○ Identical environments in different cf spaces ○ Control App Configuration via Environment Variables ● Deploy fast, deploy often ○ typically > 10 times per day to Dev ○ typically > 1 times per day to Prod ○ => Fast Feedback Loop! ● Diagnose production issues with logs, ssh & monitoring ○ collect logs via syslog drain ○ monitor e.g. via ELK Stack Continuous Deployment with Cloud Foundry
  • 13. Excursion: Concourse CI ● All Container-based CI ● Just three Core Concepts ○ Tasks: Execution of a script in an isolated environment (= container) ○ Resources: Anything that can serve as versioned Input/Output ○ Jobs: Connect Tasks + Resources ■ Think: function with Input/Output (Job->Job = Pipeline)
  • 14. Cloud Foundry in the DevOps Ecosystem ● CF readily automates many common DevOps Tasks ○ Ideal for teams with lots of “dev” but little “ops” experience ● Make your own Control vs. Comfort Tradeoffs ■ Container vs. Buildpack Deployments ■ Container-to-Container Networking vs. shared Networking ● CF vs. Kubernetes ○ “Batteries included” vs. “just orchestration” ○ Both have their place and are converging on many features ■ CF is moving “down the stack” (e.g. container-to-container networking) ■ Kubernetes is moving “up the stack” (e.g. adoption of Service Broker API)
  • 16. Links ● https://concourse.ci/ ● https://www.cloudfoundry.org/ ● Blue/Green Deployments: https://docs.cloudfoundry.org/devguide/deploy-apps/blue-green.html ● Access Applications via SSH: https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html ● Samples used: ○ https://github.com/cloudfoundry-samples/test-app ○ https://github.com/cloudfoundry-samples/spring-music