Relative Content

Tag Archive for c#.netamazon-web-servicesaws-cli

AWS- .NET Workloads on AWS App Runner Course: Unable to get IAM security credentials from EC2 Instance Metadata Service

I am new to AWS and am going through the .NET Workloads on AWS App Runner course on the AWS website. I am in Module 3 and at the step where you test the application locally (step 5), located at https://aws.amazon.com/developer/language/net/badges-and-training/app-runner/module-three/. On this step under “3. Test the Weather Forecast action for Dallas”, I have gotten an Amazon.Runtime.AmazonServiceException in the app’s console window stating “Unable to get IAM security credentials from EC2 Instance Metadata Service” and the JSON returns an empty response in the browser after adding “/WeatherForecast?location=Dallas” to the URL as instructed.