Prerequisites
In order connect the MuShop application with services in Oracle Cloud Infrastructure, several configurations are necessary. These tenancy configurations will be used to properly provision and/or connect cloud services: Create a file with the following information to simplify lookups later:
region: # Region where resources will be provisioned (ex us-phoenix-1)
tenancy: # Tenancy OCID value
user: # API User OCID value
compartment: # Compartment OCID value
key: # Private API Key file path (ex /Users/jdoe/.oci/oci_key.pem)
fingerprint: # Public API Key fingerprint (ex 43:65:2c...)
Compartment
Depending on the tenancy and your level of access, you may want (or need) to create a Compartment dedicated to this application and the resources allocated.
-
Open Console and navigate to Compartments
Governance and Admininstration » Identity » Compartments »
Create Compartment
-
Specify metadata for the Compartment, and make note of the OCID
API User
You will need a User with API Key access in your tenancy. This can be your personal user account, or a virtual user specific to usage of this application.
-
Open Console and navigate to Users
Governance and Admininstration » Identity » Users
-
Select or create the user you wish to use
-
If necessary, follow these instructions to create an API key
-
Make note of the following items:
- User OCID
- API Key Fingerprint
User Policies
If your configured User (with API Key) is not a member of the Administrators Group, then a Group with specific Policies must be created, and the User added as a member.
-
Open Console and navigate to Groups
Governance and Admininstration » Identity » Groups »
Create Group
-
Specify metadata for the Group, and make note of the NAME
-
Click the
Add User to Group
button and select your API User -
Create a Policy with the folliwing statement:
Governance and Admininstration » Identity » Policies »
Create Policy
Allow group <GroupName> to manage all-resources in compartment <CompartmentName>
Service Limits
Deploying the full application requires services from Oracle Cloud Infrastructure. Use of these services will be subject to Service Limits in your tenancy. Check minimum resource availability as follows:
Check limits in the Console: Governance and Admininstration » Governance » Limits, Quotas, and Usage
Service | Resource | Requirement |
---|---|---|
Autonomous Transaction Processing Database | OCPU Count | >=1 |
Streaming | Partition Count | >=1 |