---
title: "Automated development and staging environments with Coder + Shipyard - Blog - Coder"
description: "Coder and Shipyard give developers superpowers with ephemeral dev and staging environments."
image: "/api/dynamic-og?title=Automated+development+and+staging+environments+with+Coder+%2B+Shipyard&randomBackground=true&styles=%7B%22height%22%3A162%2C%22width%22%3A302%2C%22padding%22%3A16%2C%22titleSize%22%3A24%2C%22logo%22%3A%7B%22width%22%3A80%2C%22height%22%3A12.15%7D%7D"
canonical: "https://coder.com/blog/automated-dev-and-staging-environments-with-coder-shipyard"
---

Jan 5 20222 min read

# Automated development and staging environments with Coder + Shipyard

[Ben Potter](https://coder.com/blog/author/bpmct)

Share this article

The [benefits of DevOps](https://aws.amazon.com/devops/what-is-devops/) and automated deployments are clear for most organizations. Many also leverage containerized workloads to make applications more reproducible and portable. In this post, we’ll discuss shifting further left with ephemeral development and staging environments with Coder + Shipyard.

Today, setting up your machine to develop software projects isn’t a great experience. Too often, [long, manual steps](https://github.com/tidepool-org/development#initial-setup) are required and your workspace can quickly shift and behave differently from a coworker’s, resulting in [configuration drift](https://coder.com/blog/what-is-configuration-drift). Cloud development platforms such as [Coder](https://coder.com) make it possible to automate developer workspaces following DevOps best practices: ephemeral workspaces defined by code.

Once a developer creates a new branch and commits code (a new feature), automated ephemeral environments make it possible for developer, product, and QA teams alike to test applications before they are deployed to production. This is where Shipyard comes in. Ephemeral environments shorten feedback cycles and automate processes for testing PRs, giving WIP feedback, and deploying to production. Using Coder with [Shipyard](https://shipyard.build) allows organizations to supercharge their workflows from development to production.

![](https://www.datocms-assets.com/19109/1641425590-diagram-test-2.png?fit=clip&fm=webp&w=3840&q=90)

## How it works: automating development workflows

1) When onboarding to a project, developers use Coder to create their workspace from a template defined by the team. This workspace includes the IDEs (VS Code, IntelliJ IDEA, PyCharm, etc.), libraries, and tools necessary for development.

![Coder workspaces can run Docker and docker-compose, which Shipyard will later use for the staging environment.](https://www.datocms-assets.com/19109/1641424100-image3.gif)
Coder workspaces can run Docker and docker-compose, which Shipyard will later use for the staging environment.

![New pull request](https://www.datocms-assets.com/19109/1641424168-image1.png?fit=clip&fm=webp&w=3840&q=90)

New pull request

2) Once a feature is added, developers commit code to source control (e.g. GitHub) and create a pull request for review.

3) From the pull request, Shipyard automatically deploys a unique shareable ephemeral environment. These Shipyard managed environments are completely independent of one another allowing your teams to iterate on a given feature without needing DevOps intervention or creating problems that can block other teams.

![Shipyard environments are automated and short-lived, saving time and compute costs](https://www.datocms-assets.com/19109/1641424030-image2.gif)
Shipyard environments are automated and short-lived, saving time and compute costs

4) End-to-end tests can be run against these environments using your favorite tools (Cypress, Mabl, CircleCI, ArgoCD etc.) Developers, QA teams, and stakeholders can securely and independently validate new features pre-merge asynchronously. By tightening the feedback loop with Coder + Shipyard features are tested more thoroughly resulting in faster, more stable releases!

## Next steps

As demonstrated, automating your environments with Coder and Shipyard will make your environments more consistent & accessible for teams.

Coder: [Docs](https://coder.com/docs), [60 Day Trial](https://coder.com/trial), [Request Demo](https://coder.com/demo) Shipyard: [Docs](https://docs.shipyard.build/), [30 Day Trial](https://shipyard.build), [Request Demo](https://shipyard.build/contact)

### Subscribe to our newsletter

Want to stay up to date on all things Coder? Subscribe to our monthly newsletter for the latest articles, workshops, events, and announcements.
