4. GraphOS
1m

What is GraphOS?

We can do a lot just using the Sandbox Explorer—but a production API needs a whole suite of tools to keep everything running smoothly.

Enter .

Apollo GraphOS is a complete cloud platform for building, managing, and scaling your API. provides a set of tools and services so that developers can focus on building better apps, faster. It consists of three main parts:

  • - the web interface, where we can inspect detailed metrics and monitor performance
  • - a command-line interface used locally or in a CI/CD pipeline
  • Platform API - a API which lets us perform actions in our own application

Federation and the supergraph

By leveraging for our API's growth, we'll be able to ship changes safely and quickly, and introduce new and capabilities.

What we'll create today is a supergraph—it's our same API, only now it's built to scale incrementally, following the principles of the federated architecture pattern. No monoliths here—as a federated graph, our is really the result of multiple smaller services being composed together. These pieces are called subgraphs, and today we'll set one up as the foundation of a we can continue building piece-by-piece.

Following this pattern keeps our architecture lean, recombinable, and scalable, without losing the big picture of our API's complete capabilities. It makes it easier for teams to ship code AND collaborate, because individual can follow their own development and deployment processes without compromising anyone else's workflow.

Introducing Studio

Today, we'll be working primarily out of Studio—it's our portal to the inner workings of our API, where we can set some controls and monitor performance. It's our handy web interface where we can visualize the pieces of our coming together as we build them.

Studio houses a number of pages, including the Explorer we worked with earlier, so our live can be done as soon as we've provisioned it. We'll also find insights such as and -level metrics, client awareness, and a comprehensive guide to our supergraph's composed schema.

Previous

Share your questions and comments about this lesson

Your feedback helps us improve! If you're stuck or confused, let us know and we'll help you out. All comments are public and must follow the Apollo Code of Conduct. Note that comments that have been resolved or addressed may be removed.

You'll need a GitHub account to post below. Don't have one? Post in our Odyssey forum instead.