Good evening,
I'm an old developer and I'm beginning to discover with great pleasure the infinite power of AWS.
I'm working from a Windows 11 virtual machine running VM Ware Workstation 17 (presumably the latest version).
VMWare Workstation is installed in a machine running Windows 11.
I'm working on a Python Django project with Visual Studio Code and I've reached the point where I want to move to the AWS Cloud.
The first step is to transfer my project's static files to an S3 bucket. I've copied the files by hand and I can see my images, css and js are accessible as if they were local.
Django has a command called collectstatic that retrieves all the static files needed to run the application under development and puts them in a folder in the bucket.
For this command to work, the AWS CLI V2 must be installed locally and the configuration parameters must be the same in both the Django project and the CLI.
With strictly the same configuration, when I try to do an aws s3 ls from the virtual market I get : An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied
Whereas on the host machine, with strictly the same configuration, it works, and I get the list of my buckets.
Is there a way to run the CLI from a virtual machine?
Pourquoi ne peut-on pas sécuriser la communication AWS CLI V2 avec des clés ssh ?
Thanks in advance
Laurent