This page describes how to create a SaaS offering, which lets you deploy and manage the infrastructure and application that are needed for a SaaS application.
After creating a SaaS offering, you then model and package the deployable units, and then you provision and deploy these units.
Before you begin
- Ensure you have Enabled SaaS Runtime.
- Identify the resources and SaaS application to deploy. For more details about the required artifacts, see Blueprints in SaaS Runtime.
- Ensure you set up the required service accounts.
Create a SaaS offering
Console
In the console, go to SaaS Runtime > SaaS Offering.
Click Create.
In the Name of the SaaS offering field, type a name for the SaaS offering.
In the Region field:
- Select all of the regions where you want to host the deployments of your SaaS offering. See locations for the full list of available regions.
- Click Ok.
Optional: In Labels, you can add labels to the SaaS offering resource. For more details about labels, see the Labels overview.
To add a label:
Under Labels select Add labels.
For Key 1 and for Value 1, enter the desired key-value pair.
Repeat the steps above for each label that you want add.
Click Create to create the SaaS offering.
The regions that you selected for the SaaS offering are where SaaS Runtime deploys the SaaS offering, meaning that this is where the resources are provisioned and the application is deployed.
If you have end-users accessing the deployed SaaS offering, they access it from the regions you specify here.
gcloud
gcloud beta saas-runtime saas create SAAS_OFFERING_NAME --location=global --locations=name=REGION_1 --locations=name=REGION_2
Replace the following:
- SAAS_OFFERING_NAME: a name for the SaaS offering.
- REGION_1: a region where you want to host the deployments of the SaaS offering. For available regions, see SaaS Runtime locations.
- REGION_2: optionally, a second region to host the deployments. If you want to host the deployments in more than one region, follow this pattern to add each region to the command.
The regions that you selected for the SaaS offering are where SaaS Runtime deploys the SaaS offering, meaning that this is where the resources are provisioned and the application is deployed.
If you have end-users accessing the deployed SaaS offering, they access it from the regions you specify here.
What's next
- Next you need to model and package units of deployment.
- After you have modeled the units of deployment, you can deploy a unit.
- To learn more about SaaS Runtime, see the SaaS Runtime overview.
- For more details about the service accounts needed when using SaaS Runtime, see service accounts.