Skip to content

Flatcar Basics

Decyphertek has secured your AWS AMI with one or more of the following open source software. Please reference the specific software stack your server has. As a courteousy to AWS Subscribers this section can be used as a quick reference. AWS Marketplace: Decyphertek

Note:

Please be aware that it takes a few minutes for the system to be up and running. The best way to check is to view the status check from the ec2 / instances / dashboard. If it says intializing, it is not ready yet.

SSH Into the server:

  • Linux + MAC - add .pem key to ~/.ssh/id_rsa > change permisisons > chmod 400 id_rsa
  • ssh core@ip-of-server
  • If using putty or mobaxterm make sure to convert .pem using puttygen.

Passwords - DB AND/OR User:

  • ssh into server
  • Some allow creating user/pass on first login
  • If no then you can find your passwords here:
  • cat ~/.docker/.env
  • This will display the randomly generated passwords for DB AND/OR User.

Server Purchased:

  • Please reference your instructions on AWS Marketplace for your purchased server.

Portainer - Manage Docker:

  • How to access Portainer to manage your containers > https://ip-of-server:9443
  • Follow the instructions to create a new admin account.
  • Caution - Portainer can timeout if you dont create an account fast enough
  • If this happens you need to restart the container, ssh into the server, then run. > docker restart portainer
  • Once logged into portainer, click get started and select local. You can manage docker from here.

Docker - Update Containers:

  • Caution: Make sure to back up any data and test the update in a staging environment before running these commands on a production server.
  • ssh into the server
cd .docker
/opt/bin/docker-compose down
/opt/bin/docker-compose pull
/opt/bin/docker-compose up -d

Manage Flatcar Linux:

  • Optional: Manaully update Flatcar. Updates will happen automatically.
  • If you want to manually check for updates run this command: update_engine_client -update

References:

https://docs.docker.com/
https://docs.portainer.io/
https://www.flatcar.org/docs/latest