Environments overview
Separate environments help you maintain a clear and orderly workflow as you develop, test, and publish your applications. An application is deployed on each of its environments. However, each environment may be in a different state with its own database and files, and can have a different code branch or tag deployed.
Request SSH to the server
Each application has its own Unix user account based on the application name. You can SSH into Task Server as the application Unix user.
Prerequisites
To SSH into your Task Server:
- Generate an SSH private/public key pair.
- Create a Support ticket with the following information:
- Attach your public key
- Provide your IP address with the CIDR notation
- Update your local SSH config to log in through the bastion server.
Generating an SSH private/public key pair
To generate an SSH private/public key pair, you can run the ssh-keygen
command from the command line.
- On your local computer, open a command-prompt window.
Ensure that you do not already have a public key saved to your computer. To determine if you already have a saved public key, run the following command:
cd ~/.ssh; ls -l
You can also use your existing public key.
Run the following command to generate a new key pair:
ssh-keygen -t rsa -f <keyname>
After generating the key pair, you can create a Support ticket and request SSH access to Task Server.
Updating the local SSH configuration for logging in to Task Server
- On your local computer, edit your local SSH file config in the
~/.ssh/config
directory. Update the config file.
Host bastion HostName <ip of bastion server> User <application name> IdentityFile <path of your private key> Host task HostName <internal ip of task server> User <application name> ProxyCommand ssh bastion -W %h:%p IdentityFile <path of your private key>
Run the following command to log in to Task Server through SSH:
ssh task
IP whitelisting
Any traffic to Acquia China Hosting is protected with AWS VPC VCL and a security group. To SSH into Task Server(s), create a Support ticket with the following information:
- IP address(es) with CIDR notation
- SSH public key