Heroku Cookbook
eBook - ePub

Heroku Cookbook

  1. 232 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Heroku Cookbook

Book details
Book preview
Table of contents
Citations

About This Book

Heroku is a Platform as a Service that enables developers to rapidly deploy and scale their web applications. Heroku is designed for developer happiness, freeing developers from doing system administrative tasks such as configuring servers and setting up load balancers. Developers are able to focus on what they do best, building web applications, while leaving the details of deployment and scaling to the experts at Heroku.

This practical guide is packed with step-by-step solutions to problems faced by every production-level web application hosted on Heroku. You'll quickly get comfortable with managing your Heroku applications from the command line and then learn everything you need to know to deploy and administer production-level web applications.

Frequently asked questions

Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Heroku Cookbook by Mike Coutermarsh in PDF and/or ePUB format, as well as other popular books in Computer Science & Application Development. We have over one million books available in our catalogue for you to explore.

Information

Year
2014
ISBN
9781782177944
Edition
1

Heroku Cookbook


Table of Contents

Heroku Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Heroku
Introduction
Installing the Heroku Toolbelt
Getting ready
How to do it...
How it worksā€¦
Authentication
See also
Introducing version control with Git
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Deploying a Rails application to Heroku
Getting ready
How to do itā€¦
How it worksā€¦
The Procfile
Environment variables
The build process
See also
Deploying a Node.js application to Heroku
How to do itā€¦
How it worksā€¦
The ephemeral filesystem
See also
Introducing dynos, workers, and scaling
What's a dyno?
What's a worker?
Process sizes
How to do it...
How it worksā€¦
Dynos
Workers
One-time dynos
See also
2. Managing Heroku from the Command Line
Introduction
Viewing application logs
How to do itā€¦
How it works
See also
Searching logs
Getting ready
How to do itā€¦
How it worksā€¦
See also
Installing add-ons
How to do it...
How it worksā€¦
See also
Managing environment variables
How to do it...
How it worksā€¦
See also
Enabling the maintenance page
How to do it...
See also
Managing releases and rolling back
How to do it...
How it worksā€¦
Running one-off tasks and dynos
How to do it...
How it worksā€¦
Managing SSH keys
How to do itā€¦
How it worksā€¦
Sharing and collaboration
How to do itā€¦
How it worksā€¦
See also
Monitoring load average and memory usage
How to do itā€¦
How it worksā€¦
See also
3. Setting Up a Staging Environment
Introduction
Duplicating an existing application
How to do it...
How it works...
Add-ons
Config variables
Database
See also
Managing git remotes
How to do it...
How it works...
Password protection for a Rails app
Getting ready
How to do itā€¦
How it worksā€¦
See also
Deploying with Heroku labs ā€“ Pipeline
How to do itā€¦
How it worksā€¦
See also
Deploying from tags
How to do itā€¦
How it worksā€¦
See also
Continuous integration and deployment with Travis CI
Getting ready
How to do itā€¦
How it worksā€¦
Debugging
See also
4. Production-ready with Heroku
Introduction
Managing domains from the command line
How to do itā€¦
How it worksā€¦
See also
Configuring DNS with CloudFlare
Getting ready
How to do it...
How it works...
Setting up SSL with CloudFlare
Getting ready
How to do itā€¦
How it worksā€¦
Enabling preboot for seamless deploys
How to do it...
How it works...
Enabling custom maintenance and error pages
Getting ready
How to do itā€¦
How it worksā€¦
Setting up a status page
How to do itā€¦
How it worksā€¦
See also
Setting up log draining with LogEntries
How to do itā€¦
How it worksā€¦
See also
5. Error Monitoring and Logging Tools
Introduction
Checking Heroku's status
How to do itā€¦
How it worksā€¦
Adjusting Rails's logging level
Getting ready
How to do itā€¦
How it worksā€¦
See also
Storing historical logs with PaperTrail
How to do itā€¦
How it worksā€¦
See also
Monitoring for 404 and 500 errors with PaperTrail
How to do itā€¦
How it worksā€¦
See also
Logging slow queries with PaperTrail
How to do itā€¦
How it worksā€¦
See also
Monitoring uptime with Pingdom
How to do itā€¦
How it worksā€¦
See also
Logging errors with Rollbar
Getting ready
How to do itā€¦
How it worksā€¦
See also
6. Load Testing a Heroku Application
Introduction
Monitoring dyno performance with Librato
How to do itā€¦
How it worksā€¦
See also
Monitoring application performance with New Relic
How to do itā€¦
How it worksā€¦
See also
Learning to load test with Siege
Getting ready
How to do itā€¦
How it worksā€¦
See also
Configuring complex load tests with Siege
How to do itā€¦
How it worksā€¦
Load testing from the cloud with Blitz.io
Getting ready
How to do itā€¦
How it worksā€¦
See also
Testing real-user scenarios with Load Impact
Getting ready
How to do itā€¦
How it worksā€¦
See also
7. Optimizing Ruby Server Performance on Heroku
Introduction
Setting up and running Unicorn on Heroku
How to do itā€¦
How it works
See also
Monitoring and tuning Unicorn's memory usage
How to do itā€¦
How it worksā€¦
See also
Tuning Unicorn's backlog for Heroku
How to do itā€¦
How it worksā€¦
See also
Timing out long requests with Unicorn
How to do itā€¦
How it worksā€¦
See also
Setting up and running Puma on Heroku
How to do itā€¦
How it...

Table of contents

  1. Heroku Cookbook