24
© Copyright 2017 Pivotal Software, Inc. All rights Reserved. Version 1.0 Fabio Marinelli Platform Architect Pivotal Eseguire applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud Platform

Eseguire Applicazioni Cloud-Native con Pivotal Cloud Foundry su Google Cloud Platform (Pivotal Cloud-Native Workshop: Milan)

  • Upload
    pivotal

  • View
    158

  • Download
    0

Embed Size (px)

Citation preview

© Copyright 2017 Pivotal Software, Inc. All rights Reserved. Version 1.0

Fabio MarinelliPlatform Architect Pivotal

Eseguire applicazioni Cloud-Nativecon Pivotal Cloud Foundry su Google Cloud Platform

vSphere Openstack AWS GoogleCloud

Azure & Azure Stack

Shared Services

Shared Security

Shared Networking

Logging & Metrics / Services Brokers / API Management

Credhub / UAA / Single Sign On

VMWare NSX

Embedded Operating System (Windows / Linux)

Application Code & Frameworks Buildpacks / Spring Boot / Spring Cloud / Steeltoe

PASPivotal Application

Service

PKSPivotal Container

Service

PFSPivotal Function

Service

Pivotal ServicesMarketplace

Pivotal and Partner Products

Any AppEvery CloudOne Platform

Con

cour

se

PCF 2.0 — for everything that matters

Increase speed and deploy code to production thousands of times per month. Use PAS to run Java, .NET, and Node apps.

Pivotal Application Service (PAS): A Runtime for Apps

Best runtime for Spring and Spring Boot — Spring’s microservice patterns—and Spring Boot’s executable jars—are ready-made for PAS.

Turnkey microservices operations and security — Spring Cloud Services brings microservices best practices to PAS. It includes Config Server, Service Registry, and Circuit Breaker Dashboard.

A native Windows and .NET experience — Use PAS to run new apps built with .NET Core. Run your legacy .NET Framework apps on PAS too, using the .NET Hosted Web Core buildpack. Push applications to containers running on Windows Server 2016.

Built for apps — PAS has everything to need to run apps. Buildpacks manage runtime dependencies; metrics, logging, and scaling are done for you. Multitenancy, and blue/green deployment patterns are built-in. Extend apps with a rich service catalog.

Container-ready — PAS supports the OCI format for Docker images. Run platform-built and developer-built containers.

Enabling Developer Productivity

Pivotal Application Service

Spring BootBuild Anything

Spring CloudCoordinate Anything

Spring Cloud Data FlowConnect Anything

Spring by Pivotal: The Standard for Cloud Native Java

Code Clarity | Lower Complexity | Less Tech Debt | Focus on Business Logic | Better Test Coverage | Faster Code Completion

Spring Tools Accelerate Your Software Development

Spring Initializr (start.spring.io) to bootstrap projects

Integrated tools for Eclipse, Visual Studio Code, or Atom offer:

● Easy code navigation● Code completion for Spring elements● Code completion for Java property files● Runtime information applied to source code

Spring Boot + App Runtime

The combination proven to boost velocity with enterprise development teams.

Spring Boot

Effortless dependency management

Embedded App Server

Creates self-contained apps that “just run”

Pivotal Application Service

Generates a container from a jar

Instantly starts the app in a container upon cf push

Adds environment properties

Microservices Ready | NetflixOSS | Actuator Integration | Metrics & Logging

Circuit Breaker Dashboard for PCF

Visualizes a stream of Turbine health and metric data from the circuit

breakers inside your microservices or applications.

Service Registry for PCF

Provides an implementation of the NetflixOSS Eureka Service Discovery

pattern, as a service.

Config Server for PCF

Delivers a dynamic, central configuration service to manage an

application’s external properties across all environments.

Build & Operate Microservices with Spring Cloud Services

Steeltoe: Cloud Native .NET Microservices

An open source project that enables .NET developers to implement best practices for resilient microservices in the cloud.

● Client libraries for .NET and .NET Core framework apps

● Service Discovery, via Eureka

● Config Server, via Spring Cloud Config Server

● Circuit Breaker, via Hystrix

● Cloud Connectors to common CF services

After you cf push, PAS:

Uploads your code

Detects and installs required runtime & middleware (“Buildpacks”)

Sets up a route (or URL)

Creates a load balancing entry

Creates SSL termination

Creates health monitoring & logging subsystems

Starts your app in a healthy state, with the desired number of instances

Binds specified backing services

cf push Automates Developer + Operator workflows

Concourse: Continuous Integration & Delivery

Deliver high quality software faster & continuously, from idea to production

GitHub

Pivotal Cloud Cache

● High performance, in-memory, data at scale for microservicesLook-aside caches &HTTP session state caching

● NEW: WAN replication

MySQL for PCF RabbitMQ for PCF

● Enterprise-ready MySQL for your developers

● Automate database operations in developer workflows

● NEW: Leader-follower for multi-site HA

● Easily connect distributed applications with the most widely deployed open source message broker

● Enable connected scalable, distributed applications

● NEW: On-demand clusters

● In-Memory cache and datastore, configured for the enterprise

● Efficient provisioning matched to use cases

Redis for PCF

Extend Apps with Brokered Services from Pivotal

BOSH Managed | On-Demand Provisioning | Dedicated Instances | Custom Service Plans

First look at the platform

Pivotal Application Service

Operation Manager

Operation Manager

Tiles make it easy for cloud operators to offer new and upgraded software services to developers in a Pivotal Cloud Foundry (PCF) deployment.

Each tile bears an identifying description, a logo and a version.

Tiles enable one-click installation and upgrading from previous versions

Operation Manager

Tiles present a form-based interface that cloud operators use to configure the service.

A left-side menu lists all configuration panes and indicates with check marks which ones have been configured. The menu lists service-specific panes, defined by the tile developer, between system-level panes like Assign AZs and Networks and Resource Config that all PCF products and services use.

Operation ManagerOperators can check status of tiles components through the status pane.

Apps Manager

Apps Manager

PCF uses a role-based access control (RBAC) system to grant Pivotal Application Service users permissions appropriate to their role within an org or a space.

Organization

Spaces

Apps Manager

Quota plans are named sets of memory, service, and instance usage quotas, everyone in the org shares the quotas described by the plan.

Apps Manager

Each space reports the number of application running and services defined.

Usage of Org quota

Apps Manager

View of services list that the application sentiment-ui use to fulfill its tasks.

Live platform

Pivotal Application Service

Let’s transform how the worldbuilds software, together