-
Notifications
You must be signed in to change notification settings - Fork 4
Resume the Environment
Resuming the environment from a paused state restarts your virtual instances. Since MOADSD-NG is self-healing, everything should come up within a few minutes.
Note: When using services like GitLab or Jenkins which require Docker-in-Docker and therefore write access to the docker.sock, you need to "repatch" docker after resuming the environment.
$ ansible-playbook --vault-password-file ../.vault-pass.txt \
-i gcp_inventory.gcp.yml --extra-vars="type=gcp" resume.yml
$ ansible-playbook --vault-password-file ../.vault-pass.txt \
-i ec2.py --extra-vars="type=aws" resume.yml
You either need to wait 5 minutes after running this playbook or refresh the dynamic inventory for AWS by executing the following command:
./ec2.py --refresh-cache
$ ansible-playbook --vault-password-file ../.vault-pass.txt \
-i azure_rm.py --extra-vars="type=azure" resume.yml
$ ./menu.sh
Please choose the target environment:
1) gcp
2) aws
3) esx
4) site_secrets
Choose 1-2
Please choose the playbook:
1) site 7) deploy_gitlab
2) deploy 8) jenkins_create_credentials
3) deploy_endpoints 9) patch_docker
4) deploy_deepsecurity 10) pause
5) deploy_smartcheck 11) resume
6) deploy_jenkins 12) terminate
Choose 11
If you chose aws as the target environment you either need to wait 5 minutes after running this playbook or refresh the dynamic inventory for AWS by executing the following command:
./ec2.py --refresh-cache
This is required if you are using Jenkins / Gitlab
After resuming your environment, wait until all instances are up and running again. Then either run
$ ansible-playbook --vault-password-file ../.vault-pass.txt \
-i ec2.py --extra-vars="type=gcp" patch_docker.yml
or
$ ansible-playbook --vault-password-file ../.vault-pass.txt \
-i ec2.py --extra-vars="type=aws" patch_docker.yml
or
$ ./menu.sh
Please choose the target environment:
1) gcp
2) aws
3) esx
4) site_secrets
Choose 1-2
Please choose the playbook:
1) site 7) deploy_gitlab
2) deploy 8) jenkins_create_credentials
3) deploy_endpoints 9) patch_docker
4) deploy_deepsecurity 10) pause
5) deploy_smartcheck 11) resume
6) deploy_jenkins 12) terminate
Choose 9
- Pause the Environment
- Terminate the Environment
- [Deep Security]
- [Deep Security Smart Check]
- Container Orchestration
- Container Registry
- Cluster Storage
- Jenkins
- GitLab
- Linkerd
Wiki
About MOADSD-NG
Getting Started
MOADSD-NG Containerized
MOADSD-NG Manual Setup
- Configure your Server
- Preparing to work with Google GCP
- Preparing to work with Amazon AWS
- Preparing to work with VMware ESXi
Adapt MOADSD-NG to Your Needs
The MOADSD-NG Life-Cycle
- Setup the Environment
- Deploy the Software Stack
- Deploy the Endpoints
- Pause the Environment
- Resume the Environment
- Terminate the Environment
- Update the Environment
Software Components
- [Deep Security]
- [Deep Security Smart Check]
- Container Orchestration
- Container Registry
- Cluster Storage
- Jenkins
- GitLab
- Linkerd
- [Prometheus]
- [Grafana]
Tipps
Final Words
Deprecated Chapters