3 options
Cloud Foundry for developers : deploy, manage, and orchestrate cloud-native applications with ease / Rick Farmer, Rahul Jain, David Wu.
- Format:
- Book
- Author/Creator:
- Farmer, Rick, author.
- Jain, Rahul (Writer on Cloud Foundry), author.
- Wu, David, author.
- Language:
- English
- Subjects (All):
- Cloud computing.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt, 2017.
- System Details:
- text file
- Summary:
- 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 book is aimed at developers, engineers and architects who want to learn key aspects of developing and running applications on the Cloud Foundry Platform. Prior knowledge Cloud Foundry is not necessary. What You Will Learn Understand Cloud Foundry (CF) tools and concepts. Understand the breadth of possibilities unleashed through a lightweight agile approach to building and deploying applications. Design and deploy cloud native applications that run well on Cloud Foundry. Learn Microservice design concepts and worker applications. Customize service brokers to publish your services in the Cloud Foundry marketplace. Using, managing and creating buildpacks for the Cloud Foundry Platform. Troubleshoot applications on Cloud Foundry Perform zero-downtime deployments using blue/green routes, A/B testing, and painless rollbacks to earlier versions of the application. In Detail Cloud Foundry is the open source platform to deploy, run, and scale applications. Cloud Foundry is growing rapidly and a leading product that provides PaaS (Platform as a Service) capabilities to enterprise, government, and organizations around the globe. Giants like Dell Technologies, GE, IBM, HP and the US government are using Cloud Foundry innovate faster in a rapidly changing world. Cloud Foundry is a developer’s dream. Enabling them to create modern applications that can leverage the latest thinking, techniques and capabilities of the cloud, including: DevOps Application Virtualization Infrastructure agnosticism Orchestrated containers Automation Zero downtime upgrades A/B deployment Quickly scaling applications out or in This book takes readers on a journey where they will first learn the Cloud Foundry basics, including how to deploy and scale a simple application in seconds. Readers will build their knowledge of how to create highly scalable and resilient cloud-native applications and microservices running on Cloud Foundry. Readers will learn how to integrate their application with services provided by Cloud Foundry and with those external to Cloud Foundry. Readers will learn how to structure their Cloud Foundry environment with orgs and spaces. After that, we’ll discuss aspects ...
- Contents:
- 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
- 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
- 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
- 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
- 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)
- 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
- 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
- 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
- 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
- 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
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (EBC, viewed December 27, 2017).
- ISBN:
- 9781788396578
- 178839657X
- OCLC:
- 1018480543
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.