Next: Deploy an Amazon Lightsail Database, Previous: Build the Lamp Instance, Up: Task 1---Deploy the Lab Infrastructure [Contents][Index]
There are two ways to access a Lightsail Linux instance:
.pem
and will be named
LightsailDefaultPrivateKey-Region.pem
where Region is the Region from
which you downloaded the key. Note that while default keys might share the
same name, they are unique for each Lightsail account.
PHP-fe-1
card.
IP=$(pbpaste)
chmod 600 ./ssh/LightsailDefaultPrivateKey-us-west-2.pem
Issue the SSH command to access the instance using the user name bitnami
and the copied IP address:
ssh -i ./ssh/LightsailDefaultPrivateKey-us-west-2.pem bitnami@$IP
Next: Deploy an Amazon Lightsail Database, Previous: Build the Lamp Instance, Up: Task 1---Deploy the Lab Infrastructure [Contents][Index]