banner



How To Get Developer Cloud Service (Devcs) In Oracle Cloud

Like other Oracle Cloud services, you must create an instance of DevCS before you can start using it. You tin create but one example in an identity domain. After creating the example, gear up connections to Compute and Object Storage services on Oracle Cloud Infrastructure (OCI) or Oracle Cloud Infrastructure Classic (OCI Classic).

Create the DevCS Instance

You can create merely one DevCS case in an Oracle Cloud account. Before you effort to create an example brand sure in that location's no existing DevCS case in your business relationship.

  1. In a spider web browser, go to https://cloud.oracle.com/sign-in.

    To view the listing of supported browsers, run across https://docs.cloud.oracle.com/iaas/Content/GSG/Tasks/signingin.htm#supported_browsers.

  2. On the Sign-In page, in Account, enter your account proper noun, and click Side by side.
  3. On the Oracle Deject Account sign-in page, enter your Oracle Cloud business relationship credentials, and click Sign In.

    The Oracle Cloud Console, also called as the OCI Panel, opens.

  4. On the OCI Panel, click Navigation Bar the Menu icon in the top-left corner.
  5. Under More than Oracle Cloud Services, select Platform Services, and then select Programmer.
  6. In the Instances tab, click Create Instance.
  7. On the Create New Instance page, in Instance enter a unique name. In Description, enter a clarification.

    The name helps you to identify the service case.

  8. Click Next.
  9. On the Service Details page, click Side by side.
  10. On the Confirmation page, click Create.

Once the service example is created, you lot tin open the service console past clicking Action the Action menu icon, and so selecting Access Service Instance.

The DevCS Arrangement folio opens. Click the OCI Credentials link or the OCI Account tab to configure OCI connections before you create a project.

Organization Page on First Access

Connect to OCI or OCI Classic

You lot need to connect to the Oracle Deject Infrastructure Compute (OCI Compute) or Oracle Deject Infrastructure Compute Classic (OCI Compute Classic ) because they provide the virtual machines (VMs) on which DevCS runs its builds.

You need to connect to Oracle Deject Infrastructure Object Storage (OCI Object Storage) or Oracle Cloud Infrastructure Object Storage Classic (OCI Object Storage Classic) because they are used to store build and Maven artifacts for DevCS projects. Notation that this feature is not available to DevCS users in the Traditional identity domain, who run builds using shared build executors, non virtual machines (VMs).

If you're an OCI user, set upwardly connections to OCI Compute and OCI Object Storage. DevCS runs its builds on OCI Compute VMs, and stores build and Maven artifacts on the OCI Object Storage buckets.

If you're an OCI Classic user, gear up connections to OCI Compute Archetype and OCI Object Storage Classic. DevCS runs its builds on OCI Compute Classic VMs, and stores build and Maven artifacts on the OCI Object Storage Classic containers.

Set Up the OCI Connection

Earlier you fix the connections, set upwards your OCI account to host DevCS resources. They allow DevCS to manage necessary resources, such as VMs for your builds and storage buckets for your project information.

To prepare up the OCI business relationship, open up the OCI console and create a compartment, a grouping and a user to admission the compartment, and a policy that defines access to the compartment.

You tin use the root compartment and the tenancy user that was created when the OCI account was created, but it'southward recommended to create a dedicated compartment to host DevCS resources. This allows you lot to organize DevCS resources better as they aren't mixed with the other resource of your tenancy. You can as well restrict users and command read-write access to the compartment without affecting other resources. To learn more about compartments, come across Understanding Compartments.

After setting up your OCI business relationship, share the compartment'southward and the created user'south details with the DevCS Arrangement Administrator to prepare the OCI connectedness in DevCS.

Fix Up the OCI Business relationship
  1. On the OCI Panel, click the Menu icon in the top-left corner.
  2. Under Governance and Administration, select Identity, and and then select Compartments.
  3. On the Compartments page, create a compartment to host DevCS resources.
    1. To create the compartment in the tenancy (root compartment), click Create Compartment.
    2. In the Create Compartment dialog box, fill up in the fields, and click Create Compartment.

      Here's an example:

      OCI Create Compartment dialog box

  4. Create a user to access the DevCS compartment.
    1. In the left navigation bar, under Governance and Administration, go to Identity and click Users.
    2. Click Create User.
    3. In the Create User dialog box, fill in the fields, and click Create.

      Here's an example:

      Create User dialog box

  5. On your reckoner, generate a individual-public key pair in the PEM format.

    To observe out how to generate a individual-public key pair in the PEM format, meet How to Generate an API Signing Fundamental.

    Hither'southward an instance of private-public primal files on a Windows computer:

    Private and Public key files

  6. Upload the public key to the user's details page.
    1. Open the public central file in a text editor and copy its contents.
    2. In the left navigation bar of the OCI dashboard, click nether Governance and Administration, go to Identity and click Users.
    3. Click the user's proper noun created in Step 3.
    4. In the User Details page, click Add Public Key.

      Here's an example:

      User Details page

    5. In the Add Public Key dialog box, paste the contents of the public fundamental file, and so click Add.
  7. On the Groups folio, create a group for the user who can access the DevCS compartment and add the user to the group.
    1. In the left navigation bar, under Governance and Administration, get to Identity and click Groups.
    2. Click Create Group.
    3. In the Create Group dialog, fill up in the fields and click Submit.

      Hither'southward an example:

      Create Group dialog box

    4. On the Groups page, click the grouping'southward proper name.
    5. On the Grouping Details page, click Add User to Group.
    6. In the Add together User to Group dialog box, select the user created in Step three, and click Add.

      Here's an instance:

      Add user to a group

  8. In the root compartment, not the DevCS compartment, create a policy to permit the group created in step half-dozen to admission the DevCS compartment.
    1. In the left navigation bar, under Governance and Administration, go to Identity and click Policies.
    2. On the left side of the Policies page, from the Compartment listing, select the root compartment.
    3. Click Create Policy.
    4. In Proper name and Clarification, enter a unique proper noun and a description.
    5. In Policy Statements, add these statements.
      • permit group <group-name> to manage all-resources in compartment <compartment-proper noun>

        This grants all permissions to the DevCS group users to manage all resources within the DevCS compartment.

      • let group <group-name> to read all-resource in tenancy

        This grants read permissions to the DevCS group so that its users can read—but non employ, create or modify—all resources inside and exterior the DevCS compartment. The group users tin't utilize, create, or modify the resources. This argument is optional.

      Here's an example:

      Create Policy dialog box

    6. Click Create.
Get the Required OCI Input Values

Every Oracle Cloud Infrastructure resource has an Oracle-assigned unique ID called an Oracle Cloud Identifier (OCID). To connect to OCI, you need the account's tenancy OCID, home region, the compartment's OCID that hosts DevCS resources, and the OCID and fingerprint of the user who can access the DevCS compartment. To connect to OCI Object Storage, you need the Storage namespace. Yous can get these values from the OCI Console pages.

This table describes how to become the OCI input values required for the connexion.

To get these values ... Practice this:
Tenancy OCID, Home Region, and Storage Namespace On the OCI console, from the left navigation bar, select Administration > Tenancy Details.

The Tenancy Information tab displays the tenancy OCID in OCID, home region in Home Region, and the storage namespace in Object Storage Namespace.

Here'south an example:

Description of oci_tenancyinformation.png follows
Description of the illustration oci_tenancyinformation.png

User OCID and Fingerprint On the OCI console, from the left navigation bar, nether Governance and Administration, select Identity > Users.

The User Information tab displays the user OCID in OCID. Click the Re-create link to copy it to the clipboard.

Here's an example of devcs.user:

Description of oci_userinformation.png follows
Description of the analogy oci_userinformation.png

To get the fingerprint of the public primal associated with your OCI business relationship, scroll downward to the API Keys department and copy the fingerprint value.

Description of oci_apikeys.png follows
Description of the analogy oci_apikeys.png

Compartment OCID On the OCI console, from the left navigation bar, select Identity > Compartments.

The Compartments list displays the compartments with the compartment OCID in the OCID field. Click the Re-create link to copy information technology to the clipboard.

Here'southward an case:

Description of oci_compartments.png follows
Description of the illustration oci_compartments.png

Prepare Up the OCI Connection in DevCS

To connect to OCI, get the DevCS compartment's details, user details, and the required OCID values. Then, create an OCI connexion from DevCS. If y'all're not the OCI administrator, get the details from the OCI administrator.

  1. In the navigation bar, click Organisation Organization .
  2. Click the OCI Account tab.
  3. Click Connect.

    OCI Account tab

  4. In Account Blazon, select OCI.
  5. In Tenancy OCID, enter the tenancy'southward OCID copied from the Tenancy Details page.
  6. In User OCID, enter the OCID of the user who can access the DevCS compartment.
  7. In Home Region, select the home region of the OCI account.
  8. In Private Fundamental, enter the private key of the user who tin admission the DevCS compartment.

    The private key file was generated and saved on your computer when you lot created the private-public key pair in the PEM format. See Step 4 in Set up the OCI Account.

  9. In Passphrase, enter the passphrase used to encrypt the private central. If no passphrase was used, go out the field empty.
  10. In Fingerprint, enter the fingerprint value of the individual-public cardinal pair.
  11. In Compartment OCID, enter the compartment's OCID copied from the Compartments page.
  12. In Storage Namespace, enter the storage namespace copied from the Tenancy Details page.
  13. To agree to terms and conditions, select the terms and weather condition bank check box.
  14. To validate the connection details, click Validate.
  15. After validating the connectedness details, click Salvage.

Hither's an instance of an OCI Business relationship tab filed with required OCI details.

OCI Account tab filled with OCI credentials and other details

Gear up the OCI Classic Connection

To connect to OCI Classic, you need the credentials of a user with the Compute.Compute_Operations and Storage.Storage_Administrator identity domain roles along with the service ID and Authorization URL of OCI Object Storage Classic.

The Compute.Compute_Operations role enables y'all to create, update, and delete VMs on OCI Compute Classic . The Storage.Storage_Administrator part enables you to store artifacts on OCI Object Storage Classic.

Before you lot create the OCI Compute Classic connectedness, you must check the Compute_Operations Part: Terms of Apply and go the Service ID and the authorisation URL of OCI Object Storage Archetype:

Get OCI Object Storage Archetype Input Values
  1. Open up the Oracle Deject Dashboard.
  2. In the Storage Classic tile, click Action the Action menu icon, and select View Details.

    If the Storage Classic tile isn't visible, click Customize Dashboard. Under Infrastructure, detect Storage Classic, click Show, and and then close the Customize Dashboard window.

  3. On the Service Details page, in the Additional Information section of the Overview tab, note the values of the Auth V1 Endpoint URL and the last part of the Residuum Endpoint URL.
Create an OCI Classic Connection from DevCS

Later on you have the required values, create an OCI Archetype connection from DevCS.

the organization administrator icon You lot must exist the Organization Administrator to create the connection.

  1. Sign in to DevCS.
  2. In the navigation bar, click Organization Organization .
  3. Click the OCI Account tab.
  4. To create a connection, click Connect. To edit the connection details, click Edit.
  5. In Business relationship Type, select OCI Classic.
  6. In the OCI Object Storage Classic section, fill in the required details.
    1. In Service ID, enter the value copied from the concluding part of the Residue Endpoint URL field of the Service Details folio.

      For example, if the value of Residue Endpoint URL is https://demo12345678.storage.oraclecloud.com/v1/Storage-demo12345678 , and so enter Storage-demo12345678.

    2. In Username and Password, enter the credentials of the user assigned the Storage.Storage_Administrator identity domain role.
    3. In Say-so URL, enter the URL copied from the Auth V1 Endpoint field of the Service Details page.

      Example: http://storagetria01234-usoracletria12345.storage.oraclecloud.com/auth/v1.0.

    4. Click Validate.
  7. In the OCI Compute Classic section, make full in the required details.
    1. In Username and Password, enter the username and password of the user who's assigned the Compute.Compute_Operations identity domain part.
    2. To concord to terms and conditions, select the terms and conditions cheque box.
    3. Click Validate.
  8. Click Relieve.

Compute_Operations Function: Terms of Utilize

Here are some special legal terms and guidance that utilize to the usage of the Compute_Operations role for DevCS.

In add-on to these DevCS terms, you should follow security best practices in maintaining the security of the username and password.

  • Yous must create a dedicated username and password for use by DevCS. When creating a username, avoid including personal names or personal information (like birthdays). Your password should always be complex and impossible to guess.

  • You understand that a user with the Compute_Operations role can view, create, update and delete OCI Compute Archetype resources such as VM instances, storage volumes, security rules, and security IP lists. Your failure to maintain security best practices to secure the username and password of the user with the Compute_Operations part may create a high hazard for y'all and your system.

  • You should assign the Compute_Operations role privileges only to the username created for DevCS.

  • Notwithstanding DevCS terms, you acknowledge that Oracle isn't responsible or liable for whatsoever action you accept in accessing or creating access to the DevCS or OCI Compute Archetype .

Add together Users to the Identity Domain

To add users to your organization and projects, make sure they are added to your identity domain and assigned appropriate identity domain roles. An organization is the top-almost entity in the project structure of DevCS. All users of the identity domain are bachelor in your organization then tin can be added to projects.

To add together a user to the identity domain, invite the user to join Oracle Cloud. Meet Add Users and Assign Roles in Getting Started with Oracle Cloud. You must be assigned the Identity Domain Administrator (TenantAdminGroup) office to send an invite and assign the identity domain roles.

How To Get Developer Cloud Service (Devcs) In Oracle Cloud,

Source: https://docs.oracle.com/en/cloud/paas/developer-cloud/csdcs/service-setup.html

Posted by: parentsectirepas.blogspot.com

Related Posts

0 Response to "How To Get Developer Cloud Service (Devcs) In Oracle Cloud"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel