Project Types
A project type is the template projects start from: its starting blueprint, IaC tool, cloud settings, and guardrails on which modules a project can use.
A project type decides which modules a project can use, and which IaC tool and version build them. It doesn't hold the modules: you load those into the control plane separately, and a project type with no module list allows every published one. (A module becomes a resource only once it is added to a blueprint.)
Think of it as the template your projects start from: the building blocks, the cloud settings, and the guardrails on what teams can provision. Set it up once, and every project of that type inherits it.
A new control plane starts empty, so your first move is to load modules from the catalog. Every project needs a project type, so create one too.
From there, this page is the home for project types: how to create your own, how to control what they allow, and how projects use them.
What you can do with project types
- Turn an existing project or Git repo into a reusable template.
- Control exactly which modules a project can use.
- Preset the cloud provider settings for every new project.
- Keep project setups consistent across teams, with less manual work.
- See which projects use which type.
Prerequisites: permission to edit project types, and a sense of your organization's project and module standards.
Create a project type
Build one in the console from an existing project, an existing project type or a Git repo. Or create one with raptor create project-type in the Praxis CLI, with an empty starting blueprint and an optional list of modules.
See Creating a project type for both.
Map modules to a project type
This is where you set the guardrails: choose exactly which modules projects of this type can use.
- Open Manage Resources to see every module the type's IaC tool allows, including your published custom modules.
- Select or deselect intents and flavors.
- Save.
By default every module is selected, and Preview modules are hidden from the list.
Example: to stop projects of a type from using the MongoDB Atlas flavor, open Manage Resources for that type, uncheck Atlas under the MongoDB intent, and save. Re-check it later if you need it back.
Use a project type
When you create a project, pick a project type from the dropdown. The project inherits the type's allowed modules and cloud settings, which you can still adjust to fit the project. Click the i next to a type to preview the modules it maps.
Best practices
- Name types for their purpose, so they are easy to identify.
- Keep descriptions clear enough for the whole team.
- Remove types no project uses.
Deploy your first application
Go from an empty control plane to a running application: load modules from the catalog, create a project, add a service, launch an environment, and release.
Load modules from the catalog
Load modules from Facets' catalog with the Praxis CLI: register their output types, upload the modules you pick, and publish them. A project type is optional.