Heroku Cloud Application Development

A comprehensive guide to help you build, deploy, and troubleshoot cloud applications seamlessly using Heroku.

Heroku Cloud Application Development

Anubhav Hanjura

1 customer reviews
A comprehensive guide to help you build, deploy, and troubleshoot cloud applications seamlessly using Heroku.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$23.10
RRP $32.99
Save 29%
Print + eBook
$54.99
RRP $54.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$23.10
$54.99
$29.99p/m after trial
RRP $32.99
RRP $54.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781783550975
Paperback336 pages

Book Description

Heroku is one of the leading cloud platforms supported by several programming languages. It lets you develop applications without worrying about the infrastructure. You can instantly build, deploy, and troubleshoot the most advanced and robust cloud applications using a rich set of available tools. Just write your application and leave the rest to Heroku. Heroku helps you build the most feature-rich web applications using add-ons and multiple data sources that can be easily configured.

This book is about Heroku, but more importantly, it is about the ease with which a developer with limited availability or knowledge of deployment infrastructure can run and manage a cloud app 24/7/365. It will show how Heroku is language independent and does not lock the user to a particular operating environment.

Table of Contents

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
The Heroku feature set
Test driving Heroku
Summary
Chapter 2: Inside Heroku
The Heroku platform stack
Request routing in Heroku
Heroku's logging infrastructure – the Logplex system
The Heroku add-on architecture
Programmatically consuming Heroku services
The Heroku process architecture
Running applications locally
Setting local environment variables
Process formation
Running a one-off process
Running anything
Summary
Chapter 3: Building Heroku Applications
Heroku's guiding influence – the Twelve-Factor App methodology
Creating a Heroku application
Configuring your Heroku application
Introducing buildpacks
The slug compiler
Summary
Chapter 4: Deploying Heroku Applications
Deployment on Heroku
Getting a Heroku account
Installing the toolbelt client kit
Logging into the Heroku account
Writing your application
Pushing your application to Heroku
The Git vocabulary
Creating a Heroku remote
Renaming an application
Sending code to Heroku
Optimizing slug size
Cloning existing Heroku applications
Forking an application
Transferring Apps
Optimizing deployments
The choice of a region
Tracking application changes
Release management
Summary
Chapter 5: Running Heroku Applications
The Heroku app lifecycle
The Heroku CLI
Running your cloud apps locally
The Apps page
Summary
Chapter 6: Putting It All Together
Heroku's support for Java
Integrating Eclipse with Heroku
Managing Heroku apps in Eclipse
Summary
Chapter 7: Heroku Best Practices
The One Cloud development platform
Heroku and the data store
Creating a Heroku Postgres database
Disaster recovery in Heroku PostgreSQL
High availability Postgres
When does Heroku Postgres failover?
Configuring domains the right way
Optimizing applications
Managing your app dynos
Using the Heroku scheduler
Using NewRelic to keep the dyno alive
Summary
Chapter 8: Heroku Security
Overview
Communication between the developer's machine and the Heroku platform
Application security tools
Summary
Chapter 9: Troubleshooting Heroku Applications
The need for troubleshooting
Your window to the running app – the logs
Techniques for troubleshooting your app
A recommended Heroku configuration
Maintenance windows
Error classification in Heroku
Summary
Chapter 10: Advanced Heroku Usage
Experimenting with Heroku Labs
Introducing Websockets
Heroku and Websockets
Your first Heroku Platform API call
Sharing your app on Heroku
Summary

What You Will Learn

  • Recognize the components of the Heroku infrastructure and how they work together to give a seamless platform experience
  • Write an application using any supported language (Ruby, Java, PHP, Python, and more) and deploy it easily and instantly
  • Run and scale your cloud application on demand using a variety of useful Heroku commands
  • Secure and debug your cloud application faster using popular techniques and tools
  • Reuse the provided samples to build agile and robust applications
  • Extend your application features by using simple plugins and add-ons
  • Manage all your applications intuitively using the one-stop Heroku dashboard

Authors

Table of Contents

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
The Heroku feature set
Test driving Heroku
Summary
Chapter 2: Inside Heroku
The Heroku platform stack
Request routing in Heroku
Heroku's logging infrastructure – the Logplex system
The Heroku add-on architecture
Programmatically consuming Heroku services
The Heroku process architecture
Running applications locally
Setting local environment variables
Process formation
Running a one-off process
Running anything
Summary
Chapter 3: Building Heroku Applications
Heroku's guiding influence – the Twelve-Factor App methodology
Creating a Heroku application
Configuring your Heroku application
Introducing buildpacks
The slug compiler
Summary
Chapter 4: Deploying Heroku Applications
Deployment on Heroku
Getting a Heroku account
Installing the toolbelt client kit
Logging into the Heroku account
Writing your application
Pushing your application to Heroku
The Git vocabulary
Creating a Heroku remote
Renaming an application
Sending code to Heroku
Optimizing slug size
Cloning existing Heroku applications
Forking an application
Transferring Apps
Optimizing deployments
The choice of a region
Tracking application changes
Release management
Summary
Chapter 5: Running Heroku Applications
The Heroku app lifecycle
The Heroku CLI
Running your cloud apps locally
The Apps page
Summary
Chapter 6: Putting It All Together
Heroku's support for Java
Integrating Eclipse with Heroku
Managing Heroku apps in Eclipse
Summary
Chapter 7: Heroku Best Practices
The One Cloud development platform
Heroku and the data store
Creating a Heroku Postgres database
Disaster recovery in Heroku PostgreSQL
High availability Postgres
When does Heroku Postgres failover?
Configuring domains the right way
Optimizing applications
Managing your app dynos
Using the Heroku scheduler
Using NewRelic to keep the dyno alive
Summary
Chapter 8: Heroku Security
Overview
Communication between the developer's machine and the Heroku platform
Application security tools
Summary
Chapter 9: Troubleshooting Heroku Applications
The need for troubleshooting
Your window to the running app – the logs
Techniques for troubleshooting your app
A recommended Heroku configuration
Maintenance windows
Error classification in Heroku
Summary
Chapter 10: Advanced Heroku Usage
Experimenting with Heroku Labs
Introducing Websockets
Heroku and Websockets
Your first Heroku Platform API call
Sharing your app on Heroku
Summary

Book Details

ISBN 139781783550975
Paperback336 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Data Visualization with D3.js Cookbook Book Cover
Data Visualization with D3.js Cookbook
$ 26.99
$ 18.90
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
MEAN Web Development Book Cover
MEAN Web Development
$ 29.99
$ 3.00
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80