Working with Cloud Keys¶
Overview¶
Cloud Keys are managed credentials that allow you to launch instances and access cloud resources across AWS, Azure, GCP, Alibaba Cloud, OVH, and OpenStack. RosettaHub automatically provisions keys for your authorized regions as part of the MetaCloud compute layer.
Prerequisites¶
- [ ] RosettaHub account
- [ ] At least one cloud account connected
Understanding Key Types¶
RosettaHub has two types of keys:
| Type | Purpose |
|---|---|
| Cloud Keys | Cloud provider credentials (IAM keys, service principals, service accounts) for launching resources |
| Key Pairs | SSH keys for connecting to instances |
Viewing Your Cloud Keys¶
Step 1: Open the Keys Panel¶
Click Keys in the sidebar to open the key management panel.
Step 2: Browse Available Keys¶
You'll see your Cloud Keys organized by:
- Cloud Provider (AWS, Azure, GCP)
- Region (us-east-1, eu-west-1, etc.)
Each key shows:
- Associated cloud account
- Region and VPC
- Allowed instance types
Launching with Cloud Keys¶
Step 1: Select a Key¶
Click on a Cloud Key to select it.
Step 2: Launch an Instance¶
Click Launch or right-click and select Launch.
Step 3: Configure and Deploy¶
- Select an image or formation
- Choose instance type (from allowed list)
- Click Launch
Retrieving Cloud Storage¶
Cloud Keys can sync your cloud storage to RosettaHub.
Retrieve Object Storage¶
Map S3 buckets, Azure Blob containers, or GCS buckets:
- Select a Cloud Key
- Right-click → Retrieve Object Storages
- Storage appears in the Object Storages panel
Retrieve File Storage¶
Map network file systems (EFS, Azure Files, etc.):
- Select a Cloud Key
- Right-click → Retrieve File Storages
Retrieve Block Storage¶
Map disk volumes and snapshots:
- Select a Cloud Key
- Right-click → Retrieve Block Storages or Retrieve Snapshots
Creating SSH Key Pairs¶
For SSH access to instances, create a Key Pair:
Step 1: Create Key Pair¶
- In the Keys panel, click Create Key Pair
- Or right-click → Create Key Pair
Step 2: Configure the Key¶
| Field | Description |
|---|---|
| Label | Descriptive name for the key |
| Cloud | Target cloud provider |
Step 3: Download Private Key¶
Critical Step
Download your private key immediately. It cannot be retrieved later.
- Click Download Private Key
- Save to a secure location
- Set permissions:
chmod 600 keyfile.pem(Linux/Mac)
Sharing Keys¶
Share Cloud Keys or Key Pairs with others:
- Select the key
- Right-click → Share
- Choose recipients:
- Specific users
- Groups
- Organizations
- Set access level
- Click Share
Best Practices¶
Security
- Store private keys securely
- Never share private keys via email or chat
- Use different keys for different projects
Organization
- Use descriptive labels (e.g., "Production-US-East")
- Document which formations use which keys
- Review and clean up unused keys periodically
Permissions
- Request only the regions you need
- Use appropriate instance types for your workload
- Contact your admin if you need additional permissions
Next Steps¶
- Cloud Keys User Guide - Complete documentation
- Launch a Formation - Use keys to deploy cloud-agnostic IaC recipes
- Formations Guide - Formation management
- Cloud Accounts - Account vending and governance