Cloud Foundry for developers deploy, manage, and orchestrate cloud-native applications with ease
Deploy and scale applications on Cloud Foundry About This Book Gain hands-on experience using Cloud Foundry Implement deployment, management and scaling of applications on Cloud Foundry Learn best practices and troubleshooting tips for running applications on Cloud Foundry Who This Book Is For This...
Otros Autores: | , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [India] :
Packt
2017.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630130106719 |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Authors
- Acknowledgements
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Dedication
- Table of Contents
- Preface
- Chapter 1: Cloud Foundry Introduction
- Why Cloud Foundry?
- What is PaaS?
- The Cloud Foundry definition of PaaS
- Who are Pivotal and the Cloud Foundry Foundation?
- What is Cloud Foundry?
- Cloud Foundry architecture
- Cloud Foundry security
- Cloud Foundry containers
- What are containers?
- What is Pivotal Cloud Foundry?
- Pivotal Cloud Foundry components glossary
- Other Cloud Foundry distributions and public providers
- Summary
- Chapter 2: Cloud Foundry CLI and Apps Manager
- The cf CLI
- What is Pivotal Web Services (PWS)?
- Creating a PWS account
- What you get when you register for PWS
- Signing up
- Installing the cf CLI
- Downloading and installing from GitHub
- Install using a package manager
- Initial setup of the cf CLI
- The cf CLI help command
- Finding cf CLI commands
- Command-specific help
- Deploying an application to Cloud Foundry
- Targeting Pivotal cf API endpoint
- Logging into the Cloud Foundry API endpoint
- Pushing a simple application
- Accessing the Apps Manager on PWS
- Summary
- Chapter 3: Getting Started with PCF Dev
- A brief introduction to TDD
- Why PCF Dev?
- Comparing PCF Dev to Pivotal Cloud Foundry
- PCF Dev technical requirements
- 20 minutes to cf push with PCF Dev
- Installing PCF Dev
- Exploring PCF Dev
- Deploying a test application to PCF Dev
- Clone and build the Spring Music App
- PCF Dev housekeeping
- Stop
- Suspend
- Resume
- Destroy
- Status
- Alternatives to PCF Dev
- Further reading
- Summary
- Chapter 4: Users, Orgs, Spaces, and Roles
- Organizations (Orgs)
- Create an Org using Apps Manager
- Create an Organization (Org) using the cf CLI.
- List Orgs using the cf CLI
- Spaces
- Creating a Space using the Apps Manager
- Creating a Space using cf CLI
- List spaces using the cf CLI
- User accounts
- Create a user using the cf CLI
- Roles
- OrgManager role
- BillingManager role
- OrgAuditor role
- SpaceManager role
- SpaceDeveloper role
- SpaceAuditor role
- Assigning roles to a user using cf CLI
- Summary
- Chapter 5: Architecting and Building Apps for the Cloud
- What is a cloud-native application?
- The principles of cloud-native design
- One codebase, one application
- API First
- Dependency management
- Design, build, release, and run
- Configuration, credentials, and code
- Logs
- Disposability
- Backing services
- Environment parity
- Administrative processes
- Port binding
- Stateless processes
- Concurrency
- Telemetry
- Authentication and authorization
- Graceful fault tolerance
- Application migration and the journey to cloud-native design on Cloud Foundry
- Becoming Cloud Ready
- Modernizing the monolith
- Anti-corruption layer
- Strangling the monolith
- Application modernization and your organization
- References
- Summary
- Chapter 6: Deploying Apps to Cloud Foundry
- Pushing your first application to Cloud Foundry
- What you need before you push
- Services
- Listing the available services to create
- Creating a service
- Buildpacks
- Deploying your first app onto cf using the cf CLI
- Applications versus application instances
- The phases of application deployment
- The Droplet
- Re-deploying the application
- Binding a service to the application
- Restaging applications versus restarting applications
- Manifest files
- Monitoring and managing the applications
- Monitoring and managing the application using cf CLI
- Monitoring your application
- Listing all of the applications in a space.
- Getting the health and status of your application
- Viewing application logs
- Managing your application
- Scaling your application
- Application tasks
- Routes and domains
- Domains, HTTP domains, and TCP domains
- Viewing and managing HTTP shared domains
- Viewing and managing TCP shared domains
- Viewing and managing HTTP private domains
- Routes, HTTP routes, and TCP routes
- Creating HTTP routes
- Creating HTTP routes with the hostname option
- Creating HTTP Routes with a Wildcard hostname
- Creating HTTP context path routing
- Creating TCP routes
- Managing routes
- Deleting your application
- Monitoring and managing applications using Apps Manager
- Application Performance Monitoring (APM)
- Summary
- Chapter 7: Microservices and Worker Applications
- What are microservices?
- Worker applications
- Fortune teller worker application
- Building and deploying the fortune teller application to PCF Dev
- Application resiliency
- Resiliency provided by Cloud Foundry
- Building resiliency into microservices
- Using the Config Server for managing application configuration
- Service Registry for application registration and discovery
- Circuit breakers and dashboard
- References
- Summary
- Chapter 8: Services and Service Brokers
- Services on Cloud Foundry
- Service binding of applications
- User-provided services
- Service brokers
- Structure of services on a service broker
- The Open Service Broker API
- HTTP request and response structure
- Asynchronous and synchronous operations
- Authentication
- Custom service brokers on Cloud Foundry
- Deploying and registering custom service brokers on Cloud Foundry
- Updating custom service brokers
- Route services
- Enabling route services
- Service broker and service instance implementation requirements
- Route service deployment strategies.
- Fully-brokered route service
- Static-brokered route service
- User-provided route service
- Route service example
- Service integration strategies
- Summary
- Chapter 9: Buildpacks
- Buildpacks on Cloud Foundry
- Common buildpacks on Cloud Foundry
- Consuming and managing buildpacks on Cloud Foundry
- Offline versus online buildpacks
- Consuming external buildpacks on Cloud Foundry
- Adding a new buildpack to Cloud Foundry
- Updating a buildpack on Cloud Foundry
- Deleting a buildpack
- Existing cached droplets and maintaining installed buildpacks
- Deep-dive into buildpacks
- How buildpacks actually work with Cloud Foundry
- The detect script
- The compile script
- The release script
- The droplet
- Creating buildpacks
- Creating the Simple-HTTP buildpack
- Setting up Buildpack-packager
- Creating the buildpack
- Installing the buildpack
- Test driving the Simple-Http buildpack
- Summary
- Chapter 10: Troubleshooting Applications in Cloud Foundry
- Failure due to Org/Space quota settings
- Failures due to application crashes
- Exited with status 0
- Exited with status 4 or status 64
- Exited with status 6 or 65
- Exited with status 255
- Exited with status X
- References
- Summary
- Chapter 11: Continuous Integration and Continuous Deployment
- What is continuous integration?
- What is continuous delivery?
- What is continuous deployment?
- Zero downtime deployment
- A/B deployment
- References
- Summary
- Index.