Questions tagged [aws]

Amazon Web Services (AWS) is a collection of commercial services centered around virtualized, commodity and clustered computing, networking, database and storage, as well as supporting tools that are offered through infrastructure as a service

Amazon Web Services (AWS) provides a web services platform in the cloud. With AWS you can requisition compute power, virtual machine instances, storage through a variety of databases and file stores as your needs scale up or down.

SDKs to access and manage Amazon Web Services are provided in a multitude of programming languages, including PHP, Java, .NET. The services are also accessible through the REST and SOAP APIs, command-line interface, and web dashboard.

With Amazon Web Services, you can take advantage of Amazon.com’s global computing infrastructure that is the backbone of their multi-billion retail business spread across various regions.

Resources:

437 questions
3
votes
2 answers

aws session manager to instances without public IP or EIP

I am trying to set up session manager to connect to my instances, and I am facing an issue with instances that do not have public IP or EIP. What I have done is created a role and attach the AmazonSSMManagedInstanceCore Policy. When I launch an…
adagio
  • 31
3
votes
1 answer

Why does port 3000 work but no other ports do?

I run a program to start a website on a linux server (I'm using Amazon Web Services EC2 virtual server) and I run it from port 3000, so that I can type (ipaddress:3000) into chrome to access the website and it works fine. When I change the port…
1
vote
0 answers

Script error: Invalid bucket name

I have a task to go through all the s3 buckets in my account and find the ones that are not encrypted by the default kms encryption. I have drafted the following two commands with a loop to go through each bucket name and check its encryption…
1
vote
2 answers

Connect failed with browser-based SSH connection

Trying to connect to Ubuntu machine in AWS from web browser. Got error: There was a problem setting up the instance connection Log in failed. If this instance has just started up, try again in a minute or two. This machine runs for half an hour.…
vico
  • 813
1
vote
1 answer

Change Tags for Existing Resources in AWS

I am Trying to change the AWS Tags for the Existing EC2 resources based on Key-Value pair. If Key-value pair matches, add/modify the tag. I am using AWS CLI for this operation declare -a instance instance=$(aws ec2 describe-instances | jq…
Rohit
  • 11
1
vote
0 answers

AWS Cloud Frormation Template contains errors.: Template format error: YAML not well-formed. (line 7, column 1)

While am validating below template in cloudformation designer section, am getting error: Template contains errors.: Template format error: YAML not well-formed. (line 7, column 1).... Could anyone pls correct the syntax at line 7 column 1. 1…
1
vote
0 answers

AWS: Ubuntu 16.04 i386 AMI?

I am about to launch an m1.small instance. As far as I understand it requires a 32-bit OS, but I cannot find an Ubuntu 16.04 i386. But I cannot find a single AMI that is: Ubuntu (or Ubuntu-like) 16.04 and i386.
Ole Tange
  • 35,514
0
votes
1 answer

redirecting aws cli output

I'm trying to save the output of aws cli to the logfile. and it is working to some extent. The issue is that from below shared first commands execute it save output to the file but when second commands runs it delete the first command's output and…
0
votes
1 answer

is Openssh 7.4p1 (CentOS) up to date with remediating vulnerabilities?

Currently using Amazon Linux 2, and our VA tool is stating that it has found multiple vulnerabilites with openSSH7.4p1, stating that the vulnerabilities have been patched with a later version of OpenSSH. The issue that i find is that when I try to…
0
votes
0 answers

AWS Cloud EC2 server creating Automated backup of configuration files

Automated backup of configuration files (15) a. The backup location will be /root b. The backup should be done weekly i. /etc/passwd ii. /etc/group iii. /etc/fstab iv. /etc/yum.repos.d (Directory) v. /etc/sysconfig/network-scripts/ifcfg*
shane
  • 1
0
votes
2 answers

Could not add AWS codepipeline as a source for codebuild

want to create codebuild project, but i neeed build source to be codepipeline, not a specific codecommit branch, so that i want to force codebuild to get the source from the codepipeline source stage in order to use one codebuild project for…
karim
  • 1
0
votes
0 answers

AWS Cloudformation provisioning EC2s with FIPS-140 working but Secretsmanager is not

I have been working on updating our CF Stack across multiple applications to be FIPS-140 enabled; which is working fine for enabling FIPS on the AMI bake jobs. However, once the application is deployed from the pipeline it is failing to work with…
0
votes
0 answers

AWS lambda function through terraform - Could not unzip uploaded file. Please check your file, then try to upload again

I am using terraform to create lambda function and already have zip package in S3: { RespMetadata: { StatusCode: 400, RequestID: "fa9b0e8b-02a6-4eaf-81ae-bf30fc6a1153" }, Message_: "Could not unzip uploaded file. Please check your…
0
votes
1 answer

Pageres not working on Amazon Linux

I have Amazon Linux and I installed npm using epel repository. After npm I installed pageres with npm install --global pageres-cli I already have a phantomjs version 1.9.8 When I try to run pageres it is giving me this…
-1
votes
1 answer

How can I upload and import an SSL certifcate to AWS IAM?

I have three files: 8e59b867828d4bdb.crt 8e59b867828d4bdb.pem gd_bundle-g2-g1.crt. Actually right now my sss certificate expired (https://www.sociorich.com/). How can I upload ssl certifcate to AWS IAM?