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

How can I transfer a dumped database in Postgres CLI from my remote server to...

Normally, when I transfer a dumped database from postgres CLI in my local machine, I can simply sftp my_user_name@my_ip remotely from postgres CLI to my local machine without any problems. However,...

View Article


Snapshot based S3 bucket backup solution

I am trying to build a backup system for some important data in my AWS S3 bucket.Among the options that I explored were versioning from which individual objects can be recovered to an earlier...

View Article


Can not connect to EC2 instace using gitlab CI/CD pipeline

There are two pipelines in gitlab --> build & deployIn deploy pipeline I want to copy dist folder into my ec2 directory that's why I want to ssh into my ec2.command I have put in yml file &...

View Article

Service chain in AWS VPC: IDS -> Firewall -> Server

I'm trying to figure out if it is possible to create a service chain with EC2 instances.Τo be more precise I have 3 ec2 instances 1) an Intrusion Detection System (IDS) 2) a firewall 3) a web server,...

View Article

Unable to install pyrebase on the Ubuntu 16LTS

I am using AWS Ubuntu 16LTS EC2 instance. I am unable to install pyrebase on the server. I'm trying to install sudo pip3 install pyrebaseBut is throwing this error ERROR: Command errored out with exit...

View Article


What is the exact difference between EC2, Beanstalk and LightSail in Amazon...

What is the exact difference between EC2, Beanstalk and LightSail in Amazon Web services?What are the good real time scenarios should i use these services.Thanks in advance..

View Article

How to verify JWT from AWS Cognito in the API backend?

I'm building a system consisting of an Angular2 single page app and a REST API running on ECS. The API runs on .Net/Nancy, but that might well change.I would like to give Cognito a try and this is how...

View Article

How to automatically mount S3 bucket right after connecting to EC2 instances

Usually everytime I connected(start or restart) my instances I have to manuallymount the S3 bucket to it. I do it with the following command using Goofys (or alternatively...

View Article


Unable to find a virtual host listening on port 80.... Please add a virtual...

Just spent some time figuring this out and thought I'd share, since other answers people posted on their blog's etc... were not specifically for the EC2 Linux AMI or were made more complicated than...

View Article


ec2_instance_facts botocore.exceptions.NoCredentialsError: Unable to locate...

When I'm trying to run my ansible playbook towards my EC2 machine on AWS & collect some facts using ec2_instance_facts module. I'm getting the following error:...

View Article

Deploying an nodejs app to EC2 and update methods

So I have a node js app I would like to deploy to EC2.I'm planning on creating multiple instances of it and put it beyond Nginx for load balancing.I know I can use AWS Beanstalk but I think it's over...

View Article

EC2 Storage attached at sda is /dev/xvde1 cannot resize

I have cPanel & WHm installed on an EC2 instance.The EC2 EBS volume is 100GB CentOS 6 x86_64 (2014_09_29) EBS pv-1-adc4348e-1dc3-41df-b833-e86ba57a33d6-ami-809020e8.2 (ami-bc8131d4)This is what df...

View Article

Which Amazon Web Services or Google cloud service should I use for Rest...

I have an application which does the following:In every 30 secondsa. Fetch data from an API using get requestb. perform computation on the fetched datac. If the computation leads to a specific value,...

View Article


AWS CodeDeploy export database credentials

I have a SpringBoot application, which connects to Amazon RDS. Naturally there is a property file which contains the database connection details.I have AWS Codepipeline which is my CI/CD and everything...

View Article

URL and port redirect nginx

I'm running web app in AWS EC2 from an snap at:(http://) myurl.com:3001I installed nginx to redirect port 80 to 443 and 3001 to 443, so the url to the user becomes:myurl.com(with (https://) at...

View Article


AWS How to deploy my internet site created with Typescript on AWS

I have create a website using VS Code in NodeJS with typescript language.Now I want to try to deploy it on AWS. I read so many things about EC2 , Cloud9 , Elastic Beanstalk, etc...So I'm totally lost...

View Article

Forking processes to download files in parallel

I have to download ~ 10,000 files from a site, daily, where each file size ranges from 50KB - 150KBI plan to use a simple process manager that forks out X-number of processes to download chunks in...

View Article


Why does running cloud-init script on EC2 change my shell?

Calling all cloud-init and EC2 gurus...I can't figure this out. I'm using a cloud-init script to bootstrap an EC2 aws-ami instance (through AWS CloudFormation) and when I include the write_files...

View Article

Create template/image of AWS servers, frameworks and configs

I have the following setup on AWS for a web applicationElastic Bean Stalk java serverSeveral S3 buckets each for a different purposeSeveral Cloudfront distributionsRoute53 configurationsLambda...

View Article

Can't call any powershell script from Cloudformation template (windows instance)

I created a Windows 2012 AMI and created an instance of that AMI using the CloudFormation template shown below.In that JSON script I want to call a PowerShell script to disable a service (simple one)....

View Article
Browsing all 29239 articles
Browse latest View live