Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Programming
- Programming in cloud
- Heroku Cloud Application Development. A comprehensive guide to help you build, deploy, and troubleshoot cloud applications seamlessly using Heroku
E-book details
Log in, If you're interested in the contents of the item.
Heroku Cloud Application Development. A comprehensive guide to help you build, deploy, and troubleshoot cloud applications seamlessly using Heroku
Ebook
- Heroku Cloud Application Development
- Table of Contents
- Heroku Cloud Application Development
- 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
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 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 Herokus 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
- Let's play Heroku
- Test driving Heroku
- Summary
- 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 Platform API
- The Heroku process architecture
- Procfile
- Declaring process types
- The Procfile format
- A sample Procfile
- Adding Procfile to Heroku
- Running applications locally
- Setting 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
- The Heroku platform stack
- 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 app
- An 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 API
- Examples 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
- Heroku's guiding influence the Twelve-Factor App methodology
- 4. Deploying Heroku Applications
- Deployment on Heroku
- Getting a Heroku account
- Installing the toolbelt client kit
- Logging into the Heroku account
- Setting up SSH
- Writing your application
- Pushing your application to Heroku
- The Git vocabulary
- Getting started with Git
- Tracking a new project
- Using an existing Git project
- The life cycle of an artifact in Git
- Tracking files in a Git project
- When you don't need Git to track your files
- The git diff command knowing what changed
- Committing your changes
- Deleting a file
- Moving a file
- Viewing commit history
- Undoing a change
- You can use some Git help
- The local repository
- Remote repositories
- Getting started with Git
- Creating a Heroku remote
- Renaming an application
- Sending code to Heroku
- Optimizing slug size
- Cloning existing Heroku applications
- Forking an application
- Side effects of forking an application
- Transferring Apps
- Optimizing deployments
- The choice of a region
- Tracking application changes
- Setting up Deploy Hooks
- Basecamp
- Campfire
- HTTP
- IRC
- Setting up Deploy Hooks
- Release management
- Checking installed releases
- Verifying the new release
- Rolling back the release
- Summary
- 5. Running Heroku Applications
- The Heroku app lifecycle
- The Heroku CLI
- How to get the Heroku client tool
- Verifying the tool
- How to get the latest Heroku client tool
- Where is the Heroku client stored?
- What if my client installation is corrupted or not working?
- The Heroku CLI commands
- Heroku CLI commands by function
- Extending the Heroku CLI
- The Heroku CLI and add-ons
- A note on Heroku CLI and security
- Running your cloud apps locally
- Using Foreman to check Procfiles
- Using Foreman to run apps directly
- Running one-off commands
- Foreman command-line options
- The Apps page
- The Resources tab
- Managing resources
- The Activity tab
- The Access tab
- The Settings tab
- The Run Production Check tab
- Heroku support
- Summary
- 6. Putting It All Together
- Heroku's support for Java
- General support for Java
- Database support for Java apps
- Environment configuration
- Integrating Eclipse with Heroku
- Prerequisites
- Configuring Heroku in Eclipse
- Installing the Eclipse plugin for Heroku
- Setting up Heroku for development
- Setting up SSH support
- Creating a new Heroku Java app in Eclipse
- Using an existing Heroku application
- Pushing code to Heroku
- Pushing code to the Git repository
- Managing Heroku apps in Eclipse
- Viewing your Heroku application
- Getting to the application's details
- Reviewing the application's details
- Going deeper into the application information
- Adding collaborators to the application
- Changing the environment variables
- Heroku's process management in Eclipse
- Scaling your app dynos
- Restarting your web app
- Viewing your Heroku application
- Summary
- Heroku's support for Java
- 7. Heroku Best Practices
- The One Cloud development platform
- Introducing the Cloud 9 IDE
- The C9 user interface
- The C9 project view
- Setting up preferences in the C9 IDE environment
- Deploying on Heroku
- Performing Git operations using the C9 IDE
- Introducing the Cloud 9 IDE
- Heroku and the data store
- Creating a Heroku Postgres database
- Logging in to the database
- Creating more databases the fork
- Synchronizing databases via database followers
- Checking database logs
- Performance and the Heroku Postgres database
- Disaster recovery in Heroku PostgreSQL
- Importing data into Postgres
- Deleting a Heroku Postgres database
- Accessing Heroku Postgres externally
- Accessing the database credentials
- Connecting from outside of Heroku
- High availability Postgres
- Choosing the right plan
- When does Heroku Postgres failover?
- Effect of the failover
- Checking the availability status after failover
- Effect of the failover
- Configuring domains the right way
- Overview of DNS
- Working with DNS in Heroku
- Configuring your domain
- Domain addition rules
- Adding a custom domain to Heroku
- Configuring domain DNS
- Checking DNS configuration
- Removing Heroku custom subdomains
- Other domain-related considerations
- Optimizing applications
- The 2X dyno effect
- When do I need the 2X dynos?
- Checking whether you need 2X dynos
- What if I use 2X dynos?
- Now some examples...
- Notes on 2X dynos
- Managing your app dynos
- Using the Heroku scheduler
- Using NewRelic to keep the dyno alive
- Summary
- The One Cloud development platform
- 8. Heroku Security
- Overview
- Communication between the developer's machine and the Heroku platform
- General concepts of security
- Security of developer communication with Heroku
- A look inside the SSH protocol
- Client authentication
- App security and the Heroku dashboard
- Your Heroku account and the dashboard
- Security of applications and data resident on Heroku and third-party servers
- Heroku security practices
- Source code security
- Build and deploy security
- Application security
- Data security
- Configuration and metadata
- Infrastructure security
- Security in add-ons
- Securing the logging infrastructure
- Network security
- Security standards and compliance
- Securing web requests
- Piggyback SSL
- SSL for a custom domain
- Application security tools
- wwwhisper
- A sample wwwhisper app
- Getting wwwhisper
- Removing wwwhisper
- Enabling wwwhisper in your application
- For other Rack-based applications
- Post wwwhisper enablement
- Local setup for wwwhisper
- Using wwwhisper locally
- Disabling wwwhisper in a local environment
- Tinfoil website security scanner
- Upgrading the add-on
- The TINFOILSECURITY_SCAN_SCHEDULE configuration parameter
- The Tinfoil security scanner dashboard
- The scanning process
- wwwhisper
- Summary
- 9. Troubleshooting Heroku Applications
- The need for troubleshooting
- Your window to the running app the logs
- A little more about Logplex Heroku's logging system
- Sources and drains
- The message limit
- Retrieving Heroku logs
- Getting last 'n' log messages
- Getting live log messages
- Setting up logging levels
- Dissecting the Heroku log message
- Log message types
- Log filters
- Examples of log filtering
- Getting more from logging other logging tools
- A little more about Logplex Heroku's logging system
- Techniques for troubleshooting your app
- Troubleshooting application downtime
- Debugging HTTP requests and APIs
- Validating your process formation
- Checking your database
- When everything else fails
- Production check
- A recommended Heroku configuration
- The stack
- The process formation
- Database service
- Domain and security considerations
- Proactive health monitoring
- Maintenance windows
- Checking the maintenance status
- Enabling the maintenance mode
- Disabling the maintenance mode
- The maintenance window behind the scenes
- Customizing site content
- Customizing error pages
- Testing custom maintenance and error pages
- When requests time out
- Error classification in Heroku
- Summary
- 10. Advanced Heroku Usage
- Experimenting with Heroku Labs
- Using Heroku Labs features
- Seamless deployment using pipelines
- Enabling the pipelines feature
- Performance monitoring
- Switching on monitoring
- Log snapshot
- Watching your app closely using the Request ID
- Supporting the Request ID
- Using Heroku Labs features
- Introducing Websockets
- Websocket versus HTTP
- Websocket is not HTTP
- Websocket use cases
- Typical apps using Websockets
- Supporting Websockets in your app
- Establishing a Websocket connection
- Disadvantages of using Websockets
- Heroku and Websockets
- Switching on Websocket support
- Turning Websockets off
- The Websockets example
- The server code
- The client code
- Your first Heroku Platform API call
- Before we get started
- Supported API methods
- Sample uses of the platform API
- Creating an application
- Create an application API response
- Retrieving application information
- Modifying application information
- Deleting an application
- Interpreting an API response
- Error operations
- Error format
- An example error response
- Warnings
- Sharing your app on Heroku
- Prerequisites for collaboration
- Adding app collaborators to the Heroku dashboard
- Deleting a collaborator
- Adding collaborators via the Heroku CLI
- Listing collaborators
- Removing a collaborator
- Collaborator actions
- Working on the app
- Viewing the app
- Prerequisites for collaboration
- Summary
- Experimenting with Heroku Labs
- Index
- Title: Heroku Cloud Application Development. A comprehensive guide to help you build, deploy, and troubleshoot cloud applications seamlessly using Heroku
- Author: Anubhav Hanjura
- Original title: Heroku Cloud Application Development. A comprehensive guide to help you build, deploy, and troubleshoot cloud applications seamlessly using Heroku.
- ISBN: 9781783550982, 9781783550982
- Date of issue: 2014-04-24
- Format: Ebook
- Item ID: e_3bdk
- Publisher: Packt Publishing