AWS Website Hosting Free Tier Does Not Working?
I'm currently using AWS services for my personal wordpress website hosting. But only three weeks,about $10 bill occured. I tried to taking help from AWS support center, but they did not answer. Here's...
View ArticleIt's possibile to host a website on ec2 and connect it with an Aruba domain?
I often made websites, but I never had to host one. This time i've deployed a website written in nodejs and mongodb, but i have to host it. I've seen how to host this on an ec2 istance. Now the...
View ArticleHow to see all running Amazon EC2 instances across all regions?
I switch instances between different regions frequently and sometimes I forget to turn off my running instance from a different region. I couldn't find any way to see all the running instances on...
View ArticleCustom shell script not working at boot with EC2 User Data in Launch Templates
I'm having trouble making a bash script run when adding it to the user data on an ec2 launch template. I've looked at suggestions and tried multiple approaches including AWS's suggestion using MIME...
View ArticleHow to install PHP 7.1 on EC2 running on Amazon Linux AMI 2018.03 having...
How to install PHP 7.1 on Amazon EC2 t2.micro Instance running Amazon Linux AMI 2018.03 having nginx as web server?Reference to PHP7
View ArticleHow to configure EC2 to process emoji in my spring boot app
I'm currently trying to run a Telegram bot on EC2 instance.But the problem is - all non-english symbol are replaced. On the screenshot you can see how emojis are replaces (e.g. before 'Settings' word)...
View ArticlePort forwarding from AWS EC2 to RDS(postgres) instance
I am trying to ssh into rds through ec2, at the moment I can ssh into EC2 instance using putty, but what I would like to achieve here is ssh from ec2 to rds instance using tunneling so that I can do...
View ArticleCopy ami to different region with cli
I am trying to copy an ami from one region to a different region through the AWS CLI.The following command works fine for copying an ami to the same region:aws ec2 copy-image --name ami-copy-test...
View ArticleUnable to mount disk to directory [closed]
I'm getting this error while mounting disk to directory. Please let me know what should I do ?[root@ip-172-31-39-36 ec2-user]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk...
View ArticleDeploy Java Spring Boot Services to Production on EC2 Server
I'm currently new to deployment with Java and getting confused with jar and war. If someone can clear my couple of questions belowDo I need to convert my jar (Java spring services) to war and deploy on...
View ArticleForce AWS library to obtain region from environment inside docker cluster
I’m trying to test a Java app running in a docker container on my desktop. The app runs fine if I execute it directly from my command line, but it fails when I try to run it inside a Docker container...
View ArticleAWS EC2 Amazon Linux unable to run php files
I have a login/sign up page which uses a php file called registration.php to save the email/password to a RDS MySQL database. It all works on my localhost, but when I pushed the code to an Amazon Linux...
View ArticleBest option to lift and shift to AWS
I have a big application where there are 5 ears deployed in JBOss7.1.1EAP server running in Red hat Linux on-prem connecting to an Oracle Database on-prem. What is the best approach for lift and shift...
View ArticleIs xvda1 taking up all my disk space on ec2
When I log into my ec2 ubuntu instance, I can not download files. I see this error OSError: No space left on device When I run this(python3) ubuntu@ip-172-30-1-208:~$ df -h Filesystem Size Used Avail...
View ArticleUsing instance profile to sign API request on AWS
I have created a IAM Role and assigned this to an EC2 Instance. I have a .Net Core application running on this instance and I want the application to access the secrets manager to bring down API...
View ArticleBest option to lift and shift JBOss and Oracle database to AWS
I have a big application where there are 5 ears deployed in JBOss7.1.1EAP server running in Red hat Linux on-prem connecting to an Oracle Database on-prem. What is the best approach for lift and shift...
View ArticleWhat is the difference between a target group and security group in AWS?...
I'm trying to get up and running with ECS and Load Balancing in AWS and I'm trying to understand the roles of the various components involved: load balancer, security group, target group.From what I...
View ArticleGrant EC2 instance access to S3 Bucket
I want to grant my ec2 instance access to an s3 bucket.On this ec2 instance, a container with my application is launched. Now I don't get permission on the s3 bucket.This is my bucket policy{...
View ArticlePython script on EC2 Instance, multiple databases
I have a Python script running on an EC2 instance. The script ingests data from a particular database, runs some fancy black box stuff, then spits out a table of predicted values back to the original...
View ArticleRenewed my SSL certificate but getting UNABLE_TO_VERIFY_LEAF_SIGNATURE in...
I have a nodejs/express api on a AWS EC2 server with a ssl certificate that is generated with Let's encrypt every 3 months. Auto renewal isn't on and we let it exipre before trying to renew but after...
View Article