0

I have a spring boot server deployed in ec2 which uses Parameter store in System manager to keep the application secrets.

I want to deploy the same now on AWS Lightsail instance.

Please help if this is possible. if yes, how to do it.

Shrikar Kalagi
  • 91
  • 1
  • 11
  • Yes you can - this question is too openended. – Ermiya Eskandary Apr 10 '22 at 17:52
  • I don't think it is possible to assign an IAM Role to an Amazon Lightsail instance. Therefore, you would need to use credentials from an IAM User, and store those credentials on the Lightsail instance by using the AWS CLI `aws configure` command. Then, any software that uses an AWS SDK will automatically use those credentials to access AWS. – John Rotenstein Apr 10 '22 at 21:48

1 Answers1

1

Yes, you can do this, but not through instance roles (lightsale instances do not support roles). Instead you have to setup AWS credentials on the Lightsail instance as you would do on your local linux workstation.

Marcin
  • 215,873
  • 14
  • 235
  • 294