Code Ocean VPC Administration Guide
v2.10
v2.10
  • Code Ocean VPC Administration Guide
  • Overview
    • System Overview
    • System Capacity and Sizing
  • Installation Guide
    • Prerequisites
    • CloudFormation Deployment
    • Deployment Parameters
    • Deployment IAM role
    • Subdomain Delegation
    • Create an Admin Account
    • Upgrade Code Ocean
    • Remove Code Ocean
  • Management Guide
    • User Management
      • Admin Signup
      • Adding/Removing an Administrator
      • Inviting New Users
      • Generating a Reset Password Link
      • Deactivate User
    • Set up a User Banner Message
    • Enable Git Integration
    • Starter Environments
      • Deploy Base Image
      • Image Actions
      • Deploying Private Docker Base Images
    • Set up an Authentication
    • SCIM Provisioning using Azure Active Directory
    • SCIM Provisioning using Okta
    • Configure Worker Parameters
    • ACM Certificate Renewal
  • Troubleshooting Guide
    • Collecting Logs with the Support Bundle
    • Searching Logs in AWS CloudWatch
    • Alarms
Powered by GitBook
On this page
  • Create CloudFormation Stack
  • Step 1 - Specify the template
  • Step 2 - Specify stack details
  • Step 3 - Configure stack options (optional)
  • Step 4 - Review
  • SSL Certificate Approval
  • Deployment Completion
  • Post Deployment
  • Subscribing to AWS Alarms

Was this helpful?

  1. Installation Guide

CloudFormation Deployment

Learn how to deploy Code Ocean via CloudFormation.

PreviousPrerequisitesNextDeployment Parameters

Last updated 2 years ago

Was this helpful?

When you have completed prerequisites and have hosting domain information handy, you can continue deploying Code Ocean via AWS CloudFormation. Visit for more information.

The deployment takes about 40 minutes to complete.

Create CloudFormation Stack

Code Ocean deployment is publicly available via AWS S3. Go to AWS CloudFormation -> Stacks -> Create stack or , to autofill all the fields, to start creating a deployment stack in CloudFormation, with Code Ocean's latest release template.

The following steps are consistent with the steps of creating a stack in AWS CloudFormation.

Step 1 - Specify the template

  1. Choose Template is ready in the Prerequisite section.

  2. Choose Amazon S3 URL in the Specify template section.

  3. Enter

  4. Click Next.

Step 2 - Specify stack details

Most configuration parameters are set to the recommended defaults.

  1. Choose a name for the deployment stack, the default will be codeocean.

  2. Set DNS name to codeocean.

  3. Set Availability Zone 1 and Availability Zone 2 for the VPC

  4. Scroll to the bottom and click Next.

Step 3 - Configure stack options (optional)

You can specify tags (key-value pairs) for resources in your stack and set advanced options.

Click Next when you are done.

Step 4 - Review

  1. Review and assure that all the details are correct.

  2. Check the box to acknowledge that CloudFormation might create IAM resources.

  3. Click Create Stack to start the deployment.

After you click on Create Stack, you will be redirected to the stack screen where you can follow the progress of your stack deployment :

SSL Certificate Approval

This section applies only to deployments that use Email Validation to provision an ACM SSL certificate. When using DNS Validation, the SSL Certificate will be approved automatically.

For the deployment to be completed successfully, you or your IT administrator must approve the SSL certificate request. You will receive an email from AWS asking you to approve the certificate.

This email will be sent to the following email addresses:

  • administrator@your_domain_name

  • hostmaster@your_domain_name

  • postmaster@your_domain_name

  • webmaster@your_domain_name

  • admin@your_domain_name

To approve the certificate request:

  1. Choose the Amazon Certificate Approvals link in the email.

  2. Click I Approve on the page you get directed to.

Deployment Completion

When the deployment is finished, the state of the CloudFormation stack will turn into CREATE_COMPLETE .

Post Deployment

Subscribing to AWS Alarms

Set DNS Root Domain to the hosting domain (e.g. [company].com). Visit if you need more information.

Stack Parameters are set by default to their recommended values for the default internet-facing deployment type. Please visit page for the full list of parameters and their purpose. Note that there are some changes required according to AWS region and/or deployment type.

Please contact our support or email if you have any questions or you need help regarding parameters values.

Visit the page on AWS for more information about specifying tags.

Visit the page on AWS for more information about advanced options.

For more information, please refer to the section.

We recommend subscribing to AWS Alarms, to prevent system issues. To subscribe and learn more about alarms, navigate to the help page.

Deployment Parameters
support@codeocean.com
Resource tag
AWS CloudFormation stack options
Alarms
AWS CloudFormation's website
follow this link
https://codeocean-vpc.s3.amazonaws.com/templates/v2.11.2/codeocean.template.yaml
Prerequisites
SSL Certificate Validation