I get the error "awsAccessKey value is null" when trying to access S3 or SSM from an AMI provisioned by Packer. I am using an inline Powershell provisionner. The inline code calls a ps1 file in which I attempt to download from S3 or access SSM. The IAM role on the EC2 has correct permissions. ..
Category : amazon-ec2
I’ve a small problem in that I created an AMI in one AWS region and then copied it to another region. I’ve used it to fire up instances in the new region but the new instances all have some static routes that relate to the network interface of the previous region and as such the ..
I’m new to AWS EC2 and I’m trying to access to a windows instance (it’s an image created from another instance), But when I click on Get password in RDP section, i got this message: The instance was running since yesterday so why I still have this message? is this something related to missing configuration? ..
Im having some problems deploying my REST api written in C++ on an EC2 instance. specifically, in my code I do the following: server.setEndpoint("http://ec2-18-135-114-10.eu-west-2.compute.amazonaws.com:6502"); Which calls the function (a wrapper for the cpprestsdk): void BasicController::setEndpoint(const std::string & value) { uri endpointURI(value); uri_builder endpointBuilder; endpointBuilder.set_scheme(endpointURI.scheme()); if (endpointURI.host() == "host_auto_ip4") { endpointBuilder.set_host(NetworkUtils::hostIP4()); } else if (endpointURI.host() == ..
I have an AWS image with "user date" flag enabled. When creating new instances from it, the instance should run initialization script to prepare the itself with my server and configurations. I’ve noticed that some of the applications that I run in the new instance does not work properly until I actively login using RDP. ..
I am connected to AWS AMI uaing “Puttyand when I doconda env listit shows me all the environments. even the jupyter notebook get started when I dojupyter notebook`, it shows me: [I 08:00:27.549 NotebookApp] Using EnvironmentKernelSpecManager… [I 08:00:27.550 NotebookApp] Started periodic updates of the kernel list (every 3 minutes). [I 08:00:27.778 NotebookApp] Loading IPython parallel ..
So this is driving me crazy, I can’t seem to find a solution to my problem through the hours of researching and I’m hoping someone can help me out. I’m using terraform to spin up a Windows Server 2019 EC2 instance which a Alpine (Linux) GitLab runner then SSH’s into to execute some python scripts. ..
I created a Windows Server 2016 EC2 instance. I setup the proxy using below powershell script: Set-ItemProperty -Path ‘HKCU:SoftwareMicrosoftWindowsCurrentVersionInternet Settings’ -name ProxyServer -Value "proxyhostname:proxyport"; Set-ItemProperty -Path ‘HKCU:SoftwareMicrosoftWindowsCurrentVersionInternet Settings’ -name ProxyEnable -Value 1; However, I’m still unable to connect to my website. Is there any other place where the proxy setup needs to be done? Source: ..
I’m trying to SSH to a Windows Server 2019 EC2 instance from a Linux machine. I’m trying to use key-pair authentication to access the server but it still asks for the admin password when using the private key. Im trying to figure this out manually before using Terraform to automate the process so that I ..
Created a Windows Server 2019 EC2 Instance. Using PowerShell Scripts in CloudFormation UserData, I created a bat file (which pings another machine) and copied it over to "C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup" and did a restart. However, the startup script is not executed unless I login into the machine. What could be issue? Is there a way to ..
Recent Comments