Datascience ML instance start/stop commands¶
Imported from Confluence
Content may be outdated. Verify before following any procedures. View original | Last updated: June 2022
Info
To be able to communicate with AWS API, do not forget to export your creds: OKTA → AWS SSO → INNERACTIVEPROD

Description¶
Since subscription price for the instance is quite expensive, we wanted to provide data science engineers with an ability to start/stop the thing.
Commands¶
To check if you have permissions just use a "--dry-run" option:
~/ aws ec2 --region us-east-1 start-instances --instance-ids i-045cdf9db62c8a958 --dry-run
An error occurred (DryRunOperation) when calling the StartInstances operation: Request would have succeeded, but DryRun flag is set.
To start the instance:
To stop the intance:
Jumping to the host¶
Info
Access policy is implemented via ssh keys only, so please ask Data Science team or Devops BLN team in case you are being onboarded to the project.
Second instance¶
IP: 172.30.217.103
ID: i-09c8632cae6b055f9
DNS: datascience2.fairbid-prd.fyber.com
Additional info¶
DEVOPSBLN-2417
DEVOPSBLN-2392
DEVOPSBLN-2374
DEVOPSBLN-2524
Notes¶
In case a user is not able to login, check one of the following reasons:
- Authroized key (public) not in ./ssh/authroized_keys - if a user's public key is not there, that user might not be able to connect.
- VPN (Meta VPN) Proofpoint group should be "Berlin Engineers" - Talk to OIT / DEVOPS about it.