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

Image may be NSFW.
Clik here to view.

Server performance issue while running cakephp web application

Our application server is getting down or slow randomly throughout the day, CakePHP 2 application with Mysql is running on this server. We have some cronjobs set up and all are working perfectly.This...

View Article


Connect between two AWS EC2 Instances to share data from one EC2 instance to...

I have a specific functional requirement where need to accumulate all waiting messages from SQS to my apache camel component and write the business logic among them.I am using two ec2 instances with...

View Article


AWS CloudFront and ELB: Is there a way to force connection using only...

I have an ELB which balances some EC2 instances.The ELB exposes the endpoints of the entire system.Now I am creating a CloudFront distribution over this ELB.Is there a way to allow users to connect...

View Article

EC2 instance refusing access to MongoDB Tools

Recently after changing the security parameters of my MongoDB on my EC2 instance as well as my EC2 security group, I have no longer been able to use mongodump, mongoexport, etc from my local machine....

View Article

How to proper set up HTTPS on AWS EC2?

👋I'm running into problems while trying to run my API that's hosted on AWS EC2 through a HTTPS protocol.The API runs normally without the ELB setup, however, after trying to configure (I follow the...

View Article


route CNAME with nginx and docker

I'm trying to achieve api.com => api.myapp.com without success.main nginx run on aws/ec2 on docker and listen to port 80server { listen 80; server_name myapp.com; location / { proxy_pass...

View Article

Laravel AWS ec2 deploy not working showing 404 not found

I have logged in to AWS ec2 with ssh and installed vesta cpanel successfully.Then I cloned my project from GitHub on /var/www/Then installed all dependencies with composer installnpm installBut if I go...

View Article

Linux VM crashing while switching to Docker for Linux

While using DockerDesktop on an EC2 Windows2019 server instance, when i am switching to Linux Containers, I am getting the crash error message for my Linux container. Its mostly because, it is unable...

View Article


Reducing memory consumption of mysql on ubuntu@aws micro instance

I have recently started on a PoC project wherein we are developing a small web app. The initial setup is done on a micro instance from AWS. We are on rails+mysql stack.After installing/running MySQL, I...

View Article


Amazon Web Services EC2 ssh permission denied (publickey) in Termux

ssh -i key.pem ec2-user@dns works fine in my laptop running ubuntu. I found out about Termux in android and I wanted to test if I could connect on using the same process and instance. I opened Google...

View Article

Public ip address of ec2 instance is None while the instance is initializing

I'm trying to get the public ip address of my ec2 instance after it has been created and is running using the following code:instance = ec2_resource.create_instances(ImageId='ami-a0cfeed8', MinCount=1,...

View Article

Image may be NSFW.
Clik here to view.

When using the top command on aws ec2, why are there processes which I've...

When I used my ubuntu in ec2, I saw the daemon processes which I've never installed.As you can see, redis-server and mysqld whose user is 999 are not mine. Why did this happen?Is it related with...

View Article

Python pipeline on AWS Cloud

I have few python scripts which need to be executed in sequence on AWS Cloud so what are the best and simplest options? These script files are proof of concept so little bit dirty also but need to run...

View Article


How to set up HTTPS on an Amazon EC2 instance running Docker [closed]

So, I am unfamiliar with setting up server instances, so please forgive my ignorance. I have set up an EC2 instance with an elastic IP. I have a URL redirecting to that IP using Route 53. I can SSH...

View Article

Image may be NSFW.
Clik here to view.

MYSQL cant start? AWS Linux

Currently I'm using AWS Linux 2 EC2I successfully installed the mysql on the instance using these commandswget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpmsudo yum localinstall...

View Article


How to put public IP address directly on EC2 Instance network card

When I create a machine on Amazon AWS it always comes with Public and Private IP.I need to have the public IP directly on the server's network card. It's possible?

View Article

obtain public DNS from one of the Elastic Beanstalk instances from the console

We like to connect directly to one of our instances of Elastic Beanstalk, thus we need to know its public IP address.We normally get the public IP of the instance from the EC2 tab in the aws.console...

View Article


Can you run a rails console or rake command in the elastic beanstalk...

I have set up a RoR environement on AWS' elastic beanstalk. I am able to ssh into my EC2 instance.My home directory is /home/ec2-user, which is effectively empty.If I move up a directory, there is also...

View Article

How to get .NET Core 3.1 login to persist across multiple EC2 instances in...

I have a small .NET Core 3.1 app that needs to scale occasionally. I need the logged in users information to persist across any instance that EB spins up. I'd like to do this using the SQL Server RDS...

View Article

Connect to mongo db from ec2 instance with ip whitelist

Hey I have mongo db Atlas and EC2 server deployed via beanstalk. I would like to have better security with whitelisting only specific IP's that can connect to mongo. Problem is when I log into AWS...

View Article
Browsing all 29239 articles
Browse latest View live


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