View and Delete Environment
NoahOps Environment Details Documentation
Viewing Environment Details
From the Environments page, you can view detailed information about each environment by following these steps:
Steps to View Environment Details:
- Navigate to the Environments page
- Locate your environment in the list
- Click the "View Details icon" button in the corresponding row
Connection Information Available:
1. Bastion Host Details
- Hostname
- IP Address
- PEM file download link
How to Connect to Resources
Connecting to Bastion Host:
- Download the PEM file from the environment details
- Set correct permissions for the PEM file:
chmod 400 path/to/your-key.pem
- Connect using SSH:
ssh -i path/to/your-key.pem ec2-user@<bastion-ip>
Connecting to RDS:
- First, SSH into the bastion host
- Use the following command to connect to RDS:
or for MySQL:
psql -h <rds-endpoint> -U <username> -d <database>
mysql -h <rds-endpoint> -u <username> -p <database>
Connection to Redis:
# First SSH into bastion host
ssh -i path/to/your-key.pem ec2-user@<bastion-ip>
# Connect to Redis using redis-cli
redis-cli -h <redis-endpoint> -p 6379
Connecting to EC2 Instances:
- First, SSH into the bastion host
- Then connect to the EC2 instance:
ssh -i /path/to/internal-key.pem ec2-user@<private-ip>
Environment Deletion
Important Notes:
- Environment deletion is irreversible
- All resources within the environment will be terminated
- This action cannot be undone
- There is no edit functionality for environments
Deletion Steps:
- Navigate to the Environments page
- Locate the environment you want to delete
- Click the "Delete" button in the actions column
- Confirm deletion in the warning dialog
- Wait for the deletion process to complete (typically 5-10 minutes)
Pre-deletion Checklist:
- Backup any important data
- Download any necessary logs
- Inform team members
- Ensure no critical services are running
Deletion Process:
- Terminates all EC2 instances
- Deletes RDS instances
- Removes load balancers
- Cleans up security groups
- Deletes NAT gateways
- Removes VPC and associated resources
Post-deletion:
- Environment will be removed from the list
- Resources will no longer be accessible
- AWS charges for these resources will cease
- Backups will be retained according to backup policy
Important Security Notes:
- Keep PEM files secure and never share them
- Always use the bastion host for accessing private resources
- Follow security best practices when connecting to resources
- Regularly rotate credentials
- Monitor access logs for security