Chapter 1 overview

How to Deploy Your App

Learn how to deploy an app on your own computer, on Render (a PaaS), and on AWS (an IaaS), the trade-offs between PaaS vs IaaS and on-prem vs cloud, and how architecture and processes evolve as your company grows.

Key ideas you'll learn

  • Personal computers vs servers
  • On-prem vs cloud
  • PaaS vs IaaS

Examples you'll try

  • Run an app locally
  • Run an app on Render
  • Run an app on an EC2 instance in AWS

Table of contents

1.1 Example: Deploy the Sample App Locally
1.2 Deploying an App on a Server
1.2.1 On-Prem and Cloud Hosting
1.2.2 Example: Deploy an App Using PaaS (Render)
1.2.3 Example: Deploy an App Using IaaS (AWS)
1.3 Comparing Deployment Options
1.3.1 On-Prem Versus Cloud
When to go with the cloud
When to go with on-prem
When to go with hybrid
1.3.2 IaaS Versus PaaS
When to go with PaaS
When to go with IaaS
1.4 The Evolution of DevOps
1.5 Adopting DevOps Practices
1.6 Conclusion

Related Books

Hello, Startup: A Programmer's Guide to Building Products, Technologies, and Teams

By Yevgeniy Brikman (O'Reilly)

recommended same-author

At this very moment, somewhere in the world, two programmers are sitting in a garage and creating our future, one line of code at a time. We are in the era of the high tech startup. This book is the 'Hello, World' tutorial for building products, technologies, and teams in a startup environment. It's based on the experiences of the author, Yevgeniy Brikman, as well as interviews with programmers from some of the most successful startups of the last decade, including Google, Facebook, LinkedIn, Twitter, GitHub, Stripe, Instagram, AdMob, Pinterest, and many others. If you're at all interested in startups—whether you're a programmer at the beginning of your career, a seasoned developer bored with the politics of large companies, a manager trying to figure out how to motivate your engineers, or just someone trying to figure out what this startup thing is all about—this book is for you.

Site Reliability Engineering: How Google Runs Production Systems

By Betsy Beyer, Chris Jones, Jennifer Petoff, and Niall Richard Murphy (O'Reilly)

recommended

Members of the SRE team explain how their engagement with the entire software lifecycle has enabled Google to build, deploy, monitor, and maintain some of the largest software systems in the world.

The Practice of Cloud System Administration: Designing and Operating Large Distributed Systems

By Thomas Limoncelli, Strata Chalup, and Christina Hogan (Addison-Wesley Professional)

The Practice of Cloud System Administration, Volume 2, focuses on 'distributed' or 'cloud' computing and brings a DevOps/SRE sensibility to the practice of system administration. Unsatisfied with books that cover either design or operations in isolation, the authors created this authoritative reference centered on a comprehensive approach. Case studies and examples from Google, Etsy, Twitter, Facebook, Netflix, Amazon, and other industry giants are explained in practical ways that are useful to all enterprises.

Accelerate: Building and Scaling High Performing Technology Organizations

By Nicole Forsgren PhD, Jez Humble, Gene Kim (IT Revolution Press)

This book goes into depth on research that shows how DevOps techniques can make technology organizations more effective. Fundamentally, they can help create generative team cultures which in turn leads to higher performance, better retention and better outcomes. The book shares multiple years of research from the State of DevOps reports.

Implementing Lean Software Development: From Concept to Cash

By Mary Poppendieck and Tom Poppendieck (Addison-Wesley Professional)

In 2003, Mary and Tom Poppendieck's Lean Software Development introduced breakthrough development techniques that leverage Lean principles to deliver unprecedented agility and value. Now their widely anticipated sequel and companion guide shows exactly how to implement Lean software development, hands-on. This new book draws on the Poppendiecks' unparalleled experience helping development organizations optimize the entire software value stream. You'll discover the right questions to ask, the key issues to focus on, and techniques proven to work. The authors present case studies from leading-edge software organizations and offer practical exercises for jumpstarting your own Lean initiatives. Implementing Lean Software Development is indispensable to anyone who wants more effective development processes--managers, project leaders, senior developers, and architects in enterprise IT and software companies alike.

The DevOps Handbook: How to Create World-Class Agility, Reliability, & Security in Technology Organizations

By Gene Kim, Jez Humble, Patrick Debois, and John Willis (IT Revolution Press)

Increase profitability, elevate work culture, and exceed productivity goals through DevOps practices. More than ever, the effective management of technology is critical for business competitiveness. For decades, technology leaders have struggled to balance agility, reliability, and security. The consequences of failure have never been greater--whether it's the healthcare.gov debacle, cardholder data breaches, or missing the boat with Big Data in the cloud. And yet, high performers using DevOps principles, such as Google, Amazon, Facebook, Etsy, and Netflix, are routinely and reliably deploying code into production hundreds, or even thousands, of times per day. Following in the footsteps of The Phoenix Project, The DevOps Handbook shows leaders how to replicate these incredible outcomes, by showing how to integrate Product Management, Development, QA, IT Operations, and Information Security to elevate your company and win in the marketplace.

Visible Ops Handbook: Implementing ITIL in 4 Practical and Auditable Steps

By Kevin Behr, Gene Kim, and George Spafford (Information Technology Process Institute)

Visible Ops is a methodology designed to jumpstart implementation of controls and process improvement in IT organizations needing to increase service levels, security, and auditability while managing costs. Visible Ops is comprised of four prescriptive and self-fueling steps that take an organization from any starting point to a continually improving process.

The Unicorn Project: A Novel About Developers, Digital Disruption, and Thriving in the Age of Data

By Gene Kim (IT Revolution Press)

With The Phoenix Project we learned about the Three Ways. Now with The Unicorn Project, Gene Kim introduces the Five Ideals.This highly anticipated follow-up to the bestselling title The Phoenix Project takes another look at Parts Unlimited, this time from the perspective of software development. In The Unicorn Project, we follow Maxine, a senior lead developer and architect, as she is exiled to the Phoenix Project, to the horror of her friends and colleagues, as punishment for contributing to a payroll outage. She tries to survive in what feels like a heartless and uncaring bureaucracy and to work within a system where no one can get anything done without endless committees, paperwork, and approvals.One day, she is approached by a ragtag bunch of misfits who say they want to overthrow the existing order, to liberate developers, to bring joy back to technology work, and to enable the business to win in a time of digital disruption. To her surprise, she finds herself drawn ever further into this movement, eventually becoming one of the leaders of the Rebellion, which puts her in the crosshairs of some familiar and very dangerous enemies.The Age of Software is here, and another mass extinction event looms―this is a story about “red shirt” developers and business leaders working together, racing against time to innovate, survive, and thrive in a time of unprecedented uncertainty...and opportunity.

Leading the Transformation: Applying Agile and DevOps Principles at Scale

By Gary Gruver and Tommy Mouser (IT Revolution Press)

Software is becoming more and more important across a broad range of industries, yet most technology executives struggle to deliver software improvements their businesses require. Leading-edge companies like Amazon and Google are applying DevOps and Agile principles to deliver large software projects faster than anyone thought possible. But most executives don't understand how to transform their current legacy systems and processes to scale these principles across their organizations. Leading the Transformation is an executive guide, providing a clear framework for improving development and delivery. Instead of the traditional Agile and DevOps approaches that focus on improving the effectiveness of teams, this book targets the coordination of work across teams in large organizations -- an improvement that executives are uniquely positioned to lead.

Lean Enterprise: How High Performance Organizations Innovate at Scale

By Jez Humble, Joanne Molesky, Barry O'Reilly (O'Reilly)

How well does your organization respond to changing market conditions, customer needs, and emerging technologies when building software-based products? This practical guide presents Lean and Agile principles and patterns to help you move fast at scale—and demonstrates why and how to apply these methodologies throughout your organization, rather than with just one department or team. Through case studies, you’ll learn how successful enterprises have rethought everything from governance and financial management to systems architecture and organizational culture in the pursuit of radically improved performance. Adopting Lean will take time and commitment, but it’s vital for harnessing the cultural and technical forces that are accelerating the rate of innovation.

The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win

By Gene Kim, Kevin Behr, George Spafford (IT Revolution Press)

The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win is the third book by Gene Kim. The business novel tells the story of an IT manager who has ninety days to rescue an over-budget and late IT initiative, code-named The Phoenix Project.

Other Related Resources

Continuously Deploying Culture

By Michael Rembetsy and Patrick McDonnell (Talk)

Michael Rembetsy and Patrick McDonnell walk us through the cultural evolution of Etsy's technology organization's cultural evolution from slow and siloed….

10+ Deploys Per Day: Dev and Ops Cooperation at Flickr

By John Allspaw and Paul Hammond (Talk)

John Allspaw (Flickr/Yahoo!) and Paul Hammond (Flickr)'10+ Deploys Per Day: Dev and Ops Cooperation at Flickr'.

How to authenticate to AWS with IAM Identity Center

By Yevgeniy Brikman (Blog post)

recommended used-in-book same-author

For many years, the main way to authenticate to AWS was to use Identity and Access Management (IAM), but in the last few years, AWS has been pushing users towards the newer IAM Identity Center (formerly known as AWS SSO), which offers a more secure and convenient way to authenticate. This blog post is a guide to how to set up IAM Identity Center and use it to authenticate to AWS, both on the web and the command line.

Platform as a Service (PaaS) Tools

Heroku

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.

Render

recommended used-in-book

On Render, you can build, deploy, and scale your apps with unparalleled ease – from your first user to your billionth.

Fly.io

recommended

Deploy app servers close to your users.

Vercel

Vercel's Frontend Cloud gives developers the frameworks, workflows, and infrastructure to build a faster, more personalized web.

Railway

Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.

Firebase

Discover Firebase, Google’s mobile and web app development platform that helps developers build apps and games that users will love.

Supabase

Build production-grade applications with a Postgres database, Authentication, instant APIs, Realtime, Functions, Storage and Vector embeddings. Start for free.

Platform.sh

Our platform as a service (PaaS) gives development teams control and peace of mind while accelerating the time to build and deploy applications.

Netlify

Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!

Dokku

Dokku helps you build and manage the lifecycle of applications from building to scaling.

Porter

Porter deploys your applications into your own cloud account in just a few clicks. Get started quickly on Porter, and customize your infrastructure freely as you scale.

Adaptable

Connect your GitHub repo or choose a starter and deploy. See your app live in minutes.

Koyeb

Deploy intensive applications across GPUs, CPUs, and Accelerators in minutes - scale in 50+ locations.

Digital Ocean App Platform

Build, deploy, and scale apps quickly using a simple, cost-effective solution. Go from code to production in just a few clicks.

Aptible

Aptible is the Platform as a Service (PaaS) loved by startups (and developers). With Aptible, your cloud resources are always secure, compliant, and reliable.

Virtual Private Server (VPS) Tools

Hetzner

Hetzner Online, with hundreds of thousands of servers in operation, is one of the largest data center operators in Europe. Since its founding in 1997, Hetzner has provided private and business customers with powerful hosting products and reliable IT infrastructure.

DigitalOcean

An ocean of simple, scalable cloud solutions.

Vultr

Global, automated cloud infrastructure from the broadest array of AMD and NVIDIA GPUs to virtual CPUs, bare metal, Kubernetes, storage, and networking solutions.

Akamai Connected Cloud

Akamai Connected Cloud brings core cloud computing and edge computing together, along with industry-leading security — all on the most distributed network on the planet. You get the global scale, speed, performance, and flexibility you need to build more engaging and resilient applications, reach more users in more places, and optimize your cloud spend.

BuyVM

Fast, secure, and reliable virtual servers.

First Root

Virtual servers, domains, and other services.

OneProvider

With over 140 datacenter locations in the world, OneProvider is your one stop for dedicated server hosting solutions in the location of your choice.

Infrastructure as a Service (IaaS) Tools

Amazon Web Services (AWS)

recommended used-in-book

Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Free to join, pay only for what you use.

Microsoft Azure

Invent with purpose, realize cost savings, and make your organization more efficient with Microsoft Azure’s open and flexible cloud computing platform.

Google Cloud Platform (GCP)

Meet your business challenges head on with cloud computing services from Google, including data management, hybrid & multi-cloud, and AI & ML.

Alibaba Cloud

Alibaba Cloud offers a integrated suite of cloud products and services that are reliable and secure, to help you build cloud infrastructure, data centers in multi regions empower your global business. Try for Free.

IBM Cloud

IBM Cloud with Red Hat offers market-leading security, enterprise scalability and open innovation to unlock the full potential of cloud and AI.

Oracle Cloud Infrastructure (OCI)

Maximize efficiency and save with a cloud solution that’s designed specifically for your industry and available anywhere you need it.

« Previous chapter | Full outline | Next chapter »

Comments