- Launch instance
- Generate key pair .pem certificate for ssh access
- Assign role to instance, select instance -> security -> modify IAM role
- Provide security groups access
- Go to directory with .pem file
$ chmod 0400 {KeyPairName}.pem
$ ssh -i EC2Course.pem ec2-user@{PublicIPv4}
$ sudo yum update -y
$ sudo yum install git -y
$ git clone https://github.com/vladimir-paziuk/clients-app.git
$ sudo yum search docker
$ sudo yum info docker
$ sudo yum install docker
$ sudo service docker start
$ sudo curl -L https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ sudo usermod -a -G docker ec2-user
$ id ec2-user
- Resolve Doctor record creation with User record relation issue
- Web sockets for notifications
- Read [] notifications endpoint (toggle isRead field)
- Get my notifications endpoint (based on role)
- Get only resolution or appointments notifications endpoint
- Move to set_timestamp migration to public schema for reusing
- SSM parameter store, for fetch .env config