How to Create a New Pod (Container)

Operating System: Any

Applies To: Faculty or Staff using CaaS  

Last Updated: October 29, 2024

The steps below assume you are using the UB Version Control System (UBVCS) for your code repository.

Instructions

  1. Generate a set of SSH keys
    1. Go to https://keygen.apps.buffalo.edu
    2. Enter the name of your code repository (this can also be your project name)
    3. Click Submit
  2. Save your SSH key pair to your workstation/laptop
    1. Create a directory to store your SSH keys (if it doesn't already exist)
      • for Linux and Mac use ~/.ssh/
      • for Windows use %HOMEPATH%\ssh\
    2. Download the public and private keys generated in Step 1 to the ssh directory
  3. Add your public key to your repository
    1. Log into https://ubvcs.buffalo.edu
    2. Select your repository
    3. Take note of the SSH URI displayed on the right side of the page (this will be used in Step 10)
    4. Click on the Settings button
    5. Select Deploy Keys from the navigation pane on the left
    6. Click on the Add Deploy Key button
    7. Enter a name for your key in the Title box (the name can be anything)
    8. Enter the contents of the public key generated in Step 1 in the Content box
  4. Log into https://console.apps.buffalo.edu/
  5. Select your project or create a new one by clicking on the Add button
  6. Click Add to Project (this step is skipped if you created a new project in the previous step)
  7. Choose a base image for your application
  8. Click Instantiate Template or Create Application (this varies by image)
  9. Enter a Name for your application and fill out the other required fields
  10. Enter the SSH URI for your code repository (displayed when you view your repository in the UBVCS Web Portal). Ignore the warning saying, Git repository should be a URL
  11. Click Show Advanced Git options
  12. Click Create new secret
  13. Click Source Secret
  14. Enter a Secret Name
  15. Choose SSH Key as the Authentication Type
  16. Click Browse and select the private key you downloaded in Step 2 (<repository_name>_id_rsa)
  17. Click Create
  18. Click Create at the bottom of the page
  19. Review the information on the next page
  20. Click Continue to overview

See also

Still need help?

Contact the UBIT Help Center.