Heroku cloud application development : a comprehensive guide to help you build, deply, and troubleshoot cloud applications seamlessly using Heroku /
An easy-to-follow, hands-on guide that clearly explains the various components of the Heroku platform and provides step-by-step guidance as well as numerous examples on how to build and troubleshoot robust and scalable production-ready web applications on the Heroku platform. This book is intended f...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2014.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Hello Heroku; What is cloud computing?; Cloud service models; What is cloud application development?; Key advantages of cloud application development; Introducing Heroku; Walking down the memory lane; An overview of Heroku's architecture; Process management; Logging; HTTP routing; Heroku interfaces; The Heroku feature set; Let's play Heroku; Getting ready for the ride
- the prerequisites; Signing up; Installing the Heroku toolbelt; Logging in and generating a new SSH key
- Test driving HerokuSummary; Chapter 2: Inside Heroku; The Heroku platform stack; The Celadon Cedar stack; Request routing in Heroku; The execution environment
- dynos and the dyno manifold; Heroku's logging infrastructure
- the Logplex system; The Heroku add-on architecture; Programmatically consuming Heroku services; The Heroku Platform API; Security; Schema; Data; Accessing the API; API clients; Calling the API; Response; Limits on API calls; The Heroku process architecture; Procfile; Declaring process types; The Procfile format; A sample Procfile; Adding Procfile to Heroku
- Running applications locallySetting local environment variables; Process formation; Process scaling; Stopping a process type; Checking on your processes; Process logs; Running a one-off process; Running anything; Summary; Chapter 3: Building Heroku Applications; Heroku's guiding influence
- the Twelve-Factor App methodology; A codebase is always versioned and it can have multiple deploys; Declare and isolate dependencies explicitly (always); Configuration should be stored in the environment; Backend services should be treated as attached (loosely-coupled) resources
- Strict separation of the build, release, and run stages of an appAn app in execution is a process or many processes; Services should be exported through port binding; An app should scale out through its process model; Faster startup and graceful shutdown is the way to app agility and scalability; Development and production (and everything in between) should be as similar as possible; The app should just log the event not manage it; App's administrative or management task should be run as a one-off process; Creating a Heroku application; Configuring your Heroku application
- The Heroku application configuration APIExamples of using application configuration; The persistence of configuration variables; Accessing configuration variables at runtime; Limits on configuration data; Using the Heroku config plugin; Introducing buildpacks; Using a custom buildpack; Specifying a custom buildpack at the app creation stage; Third-party buildpacks; The buildpack API; Components of a buildpack API; The bin/detect script; The bin/compile script; The bin/release script; Writing a buildpack; The slug compiler; Optimizing the slug; Size limits; Summary