Quick Start
Get NightOps managing your staging and development infrastructure in under 15 minutes.
Overview
┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ 1. Connect │────▶│ 2. Scan │────▶│ 3. Group │────▶│ 4. Schedule │
│ Provider │ │ Assets │ │ Collections │ │ On/Off │
└──────────────┘ └──────────────┘ └──────────────┘ └──────────────┘
Step 1: Connect Your Cloud Provider
Deploy the NightOps IAM role to grant secure, read/write access to your cloud resources.
AWS (Recommended: CloudFormation)
# One-click CloudFormation deployment
aws cloudformation create-stack \
--stack-name nightops-integration \
--template-url https://nightops-templates.s3.amazonaws.com/cloudformation/nightops-role.yaml \
--parameters ParameterKey=ExternalId,ParameterValue=<your-external-id> \
--capabilities CAPABILITY_NAMED_IAM
The External ID is generated in your NightOps dashboard when you add a new AWS provider.
GCP
# Enable required APIs and create service account
gcloud iam workload-identity-pools create nightops-pool \
--location="global" \
--display-name="NightOps Pool"
Azure
# Create app registration with federated credentials
az ad app create --display-name "NightOps"
Step 2: Scan Your Assets
Once connected, NightOps automatically discovers all manageable compute resources:
- Go to Providers in the dashboard
- Click Sync on your connected provider
- Wait for the scan to complete (typically 1-2 minutes)
NightOps discovers:
- EC2 instances, RDS databases, ECS services, EKS node groups
- Compute Engine VMs, Cloud SQL instances, GKE node pools
- Azure VMs, Azure SQL databases, AKS node pools
Learn more about asset scanning →
Step 3: Create Collections
Group your assets into logical collections for easier management:
| Collection | Description | Example Assets |
|---|---|---|
| Staging Web Tier | Frontend and API servers | 4 EC2 instances, 2 ECS services |
| Staging Data | Databases and caches | 2 RDS instances, 1 ElastiCache |
| QA Environment | Testing infrastructure | 3 VMs, 1 Cloud SQL |
To create a collection:
- Go to Infrastructure in the dashboard
- Click New Collection
- Give it a name, color, and optional description
- Add assets by selecting them from the list
Learn more about collections →
Step 4: Create a Schedule
Define when your non-production resources should be running:
Example: Weekday Business Hours
Name: Weekday Business Hours
Timezone: America/New_York
Start: 8:00 AM
Stop: 8:00 PM
Days: Monday, Tuesday, Wednesday, Thursday, Friday
This schedule:
- Starts resources at 8:00 AM Eastern
- Stops resources at 8:00 PM Eastern
- Keeps resources off on weekends
Attach Schedule to Collection
- Edit your collection
- Select your schedule from the dropdown
- Save changes
All assets in that collection will now follow the schedule automatically.
Step 5: Install Slack Integration (Optional)
Let your team turn resources on/off from Slack:
- Go to Settings → Integrations
- Click Add to Slack
- Authorize NightOps for your workspace
- Invite
@NightOpsto your preferred channel
Your team can now:
/nightops start staging— Start a collection/nightops stop staging— Stop a collection/nightops status— Check what's running
Learn more about Slack integration →
Step 6: Subscribe to Uptime Calendar (Optional)
Get a calendar feed showing when your resources are scheduled to be on/off:
- Go to Settings → Calendar
- Copy your personal iCal URL
- Add to Google Calendar or any calendar app
Learn more about calendar integration →
Estimated Savings
| Environment | Monthly Cost | With NightOps | Savings |
|---|---|---|---|
| Staging (24/7) | $2,500 | $625 | 75% |
| Development (24/7) | $1,200 | $300 | 75% |
| QA Testing (24/7) | $800 | $200 | 75% |
Based on 8am-8pm weekday schedule (60 hours/week vs 168 hours/week)
Next Steps
- Add team members — Invite your team and set permissions
- Configure roles — Define who can start/stop which resources
- View schedule examples — Common scheduling patterns
- Learn Slack commands — Override schedules when needed