Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Browsing all 29239 articles
Browse latest View live
↧

Unable to connect to AWS Documentdb using MongoDB Compass. No option to pass...

AWS DocumentDB is a relatively new service we're trying to migrate to. To connect from outside of the VPC, you have to create a tunnel to an existing instance. For example: ssh -i "ec2Access.pem" -L...

View Article


How to use SSL for a backend EC2 instance without a domain

I have an AWS EC2 instance set up running my back-end, and it's able to communicate with my front-end (locally), but not with front-end deployed (on Netlify).Is it necessary to create a domain name for...

View Article


Cloud Services / Hosting Offer So Many Different Options - Which are Most...

Disclaimer: I have tried to search for the correct location to ask the following question(s) within the Stack Exchange Community; but without knowing the correct 'terminologies' it has proven to be...

View Article

AWS cloudformation error: Template validation error: Invalid template...

I am trying to create cloudformation template to use but I keep getting the above error. Here is snippet from my template:"Mappings" : { "AWSInstanceType2Arch" : { "t1.micro" : { "Arch" : "64" },...

View Article

InvalidKeySpecException while doing ssh with sshj using ppk

I am trying to ssh using sshj java library to an ec2 redhat instance with the ppk file,I am getting InvalidKeySpecException . Where as i am able to successfully ssh to other machines with same ppk. I...

View Article


Coturn AWS EC2 problems running

I'm trying to setup and run coturn TURN server on my EC2 instance which is on ubuntu. I have installed coturn package and trying to run the server using command line only and here is my command - sudo...

View Article

How do you write buildspec.yml for use with NodeJS and AWS CodeBuild?

I have a NodeJS app that serves an Angular frontend, this app is deployed using AWS Elastic Beanstalk. If I were to directly upload a .zip file to Elastic Beanstalk, it would contain:\dist...

View Article

Unable to access public api on aws api gateway from app running on an ec2...

I have an created a public aws api gateway which i have have tested and works with an app deployed on my local and with curlBut when i deploy the app on the ec2 on a vpc it cannot query that public api...

View Article


Redash metadata DB migrate

I am using Redash v5.0.0 and PostgreSQL for metadata in an EC2 instance. I can create Redash v8.x container on ECS and PostgreSQL on RDS, however how can I migrate metadata in EC2 for Redash v5 to RDS...

View Article


store ec2 user data script in s3

Assuming I am builing ec2 instances using cloudformation, further ec2 having read permission for a given s3 bucket. Wondering on opinions towards storing user data script in s3? In that scenario one...

View Article

Docker, GitLab and deploying an image to AWS EC2

I am trying to learn how to create a .gitlab-ci.yml and am really struggling to find the resources to help me. I am using dind to create a docker image to push to the docker hub, then trying to log...

View Article

How to get list of all the ebs snapshots available in account with python...

I am trying to get list of all the available snapshots in AWS account. I have written following code.def lambda_handler(event, context): ec2 = boto3.client('ec2') resp_describe_snapshots =...

View Article

Deploy sameersbn/docker-gitlab on AWS ECS

Is it possible to deploy docker-gitlab on AWS ECS? Currently, I use docker-compose method to deploy on my own EC2 instance with a single docker engine setup manually. But now, I'm going to move them...

View Article


GitLab EC2 ssh: Host key verification failed

I have a GitLab .gitlab-ci.yml file to build and deploy a Docker image to an EC2 instance. The deploy is failing on this line: - ssh -i $AWS_KEY $AWS_URL "docker pull $RELEASE_IMAGE"which fails with...

View Article

How to deploy keycloak to EKS cluster

I have a scenario where I want to deploy keycloak to an instance and whenever user accesses an application it should be redirected to that instance.I'm using AWS's EKS to achieve this. Have created an...

View Article


Unable to connect to FTP server from AWS instance [closed]

We used to connect to FTP server( client's other server) from our AWS (ubuntu) instance. But all of a sudden we are unable to access that ftp server from our AWS instance. There is no credentials issue...

View Article

Scheduled lambda function to poll SQS queue and sent to on premise queue

I have a requirement to create a scheduled lambda function which polls messages from SQS and write to on premise queue .I have not much exposure to AWS. Is there an option to sent messages from SQS to...

View Article


docker-compose on ec2 instance returns Permission denied: '/etc/grub.d'

I have docker-compose --version: docker-compose version 1.25.4, build 8d51620a on an EC2 instance with AMI: Amazon Linux AMI 2.0.20200319 x86_64 ECS HVM GP2I am able to connect through ssh, and...

View Article

Adding IP to EC2 Security Group Through Lambda and Api Gateway

Is there any way to invoke the Lambda function in which we send the IP of the current system through POST API Request to add it into EC2 instance Security Group, so that IP is automatl=icly added to...

View Article

Image may be NSFW.
Clik here to view.

AWS is charging me but the Billing Console doesn't show what the issue is

AWS is charging me but the cost reports aren't showing enough detail to figure out why. I think it might be one EC2 instance I created for the tutorial but I can't figure out how to delete it. Can you...

View Article
Browsing all 29239 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>