Category : amazon-web-services

I am using WSL with Ubuntu to connect to AWS through my Windows machine. I can connect without issue from Windows machine. I have used the following solution to pass credentials to Linux: How to access aws config file from WSL (Windows subsystem for Linux)? export AWS_SHARED_CREDENTIALS_FILE=/mnt/c/Users/username/.aws/credentials export AWS_CONFIG_FILE=/mnt/c/Users/username/.aws/config Each time I run aws ec2 ..

Read more

I try to create an application for use the AWS API. For this, i programme in c++ with the library CURL. I test my application with "GET" request and it’s work. After, i test with the "PUT" request but, i have an error : <?xml version="1.0" encoding="UTF-8"?> <Error><Code>NotImplemented</Code> <Message>A header you provided implies functionality that ..

Read more

I’m trying to use the SFTP packages from Sublime Text to access a remote folder on my EC2 server. I’m getting a Connection timeout failure. I don’t understand why. Here are my current SFTP server setup settings. { "type": "sftp", "sync_down_on_open": true, "sync_same_age": true, "host": "ec2-this-is-an-example.eu-west-3.compute.amazonaws.com", "user": "ubuntu", "remote_path": "/home/ubuntu", "connect_timeout": 30, "sftp_flags": ["-i", "full_path_to_my_pem_file"], ..

Read more

I am using the below userdata script to install JDK on a Windows 2016 EC2. The JDK downloaded successfully, but it seems the installer did not run. I also tried SSM, the same result. If I RDP into the instance and run and script, it works fine. mkdir C:ec2setup [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor ..

Read more

I am using the below userdata script to install JDK on a Windows 2016 EC2. The JDK downloaded successfully, but it seems the installer did not run. I also tried SSM, the same result. If I RDP into the instance and run and script, it works fine. mkdir C:ec2setup [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor ..

Read more