Package files together on Amazon S3
I have a base file which is to be packaged inside another file. At every request, we append/merge the license file with the original base file and give client a URL to the newly created packaged file...
View ArticleRDP connection failure after Instance migration
I have a configured instance up and running with RDP accessible on one of my accounts, out of this instance I've created an AMI image and imported this image to another account (different region).In...
View ArticleHow to access s3 bucket in ec2 windows instance using CLI
I have been using EC2 windows instance and installed AWS CLI in it, I have created IAM user with CLI access credential and with full s3 access permission and I had install AWS CLI in my personal...
View ArticleHow to fix a cloned AMI with another domain SSL certificate on it for...
In 2018 I made a Wordpress site by using a Bitnami AMI for a AWS EC2. Fine developed a site and created another custom AMI of the finalized Wordpress site. This was for domain X.Now in 2020 I wanted to...
View ArticleCan't connect to django application running on AWS Ubuntu EC2
I am runnig my Django application on AWS EC2 t2.micro with Ubuntu. I've successfuly installed all modules, created a PostgreSQL database, and made all migrations. Now when I'm running python manage.py...
View ArticleHow to create custom construct library for aws-cdk in python
Recently I have been using aws-cdk to create EC2, VPC and S3 services. But if I want to create my custom EC2 Library in python(not using JSII) than will be using aws_cdk's aws_ec2 library to actually...
View ArticleStreaming videos via Amazon CloudFront CDN
I am following this blog but after performing Step 3 – Upload video to S3 and trigger HLS encoding it should generate HLS/ folder in my bucket and within that folder no folder with the video filename,...
View ArticleCan we dynamically create Keypair through AWS Cloudformation and copy the...
My requirement is to create an EC2 instance which will have the Keypair created dynamically from the same Cloudformation template.As of now,I am creating the KeyPair from AWS console and assigning it...
View Articlehow to get available subnets on AWS EMR
This the code to create cluster but with hardcoded subnetId, now i want to have a list of available subnet before creating the cluster.cluster_id = connection.run_job_flow( Name=cluster_name, #...
View ArticleWhere has my menu bar gone from my ubuntu instance on EC2?
So I followed the tutorial here - https://medium.com/@Arafat./graphical-user-interface-using-vnc-with-amazon-ec2-instances-549d9c0969c5However I have no menu bar at the topWhere is it? How do I...
View ArticleRead Timeout when connecting to AWS ElastiCache redis through spring boot app...
I'm running a spring boot app as a Docker container on EC2 instance. I've created a redis cluster (ElastiCache on AWS) and enabled encryption in-transit as well as at rest.Everything is proper in terms...
View ArticleRegistered Target Instance shows unhealthy in target groups
I have created a Application Load Balancer(ALB) and registered target groups with Ec2 instance and all the deployment is done in openshift (I have created routes for all registered instances in...
View ArticleHow to pay AWS charges if you are on free trial
I would like to learn how to use aws and for this purposes i have taken aws free trial, however when i was doing some exersise/labs, i was charged for usinsg NAT's resoures. I have deactivated all my...
View ArticleGetting broken package while installing MySQL 5.7 on AWS EC2 user (Amazon Linux)
I am getting these error while installing MySQL:sudo yum install mysql-community-server Loaded plugins: extras_suggestions, langpacks, priorities, update-motd amzn2-core | 2.4 kB...
View ArticleTerraform fails remote-exec (aws/ec2)
When trying to execute a shell script throw provisioner "remote-exec" in terraform connection not establishI'm using ami for ubuntu-xenial-16.04 so the user is ubuntuThis is the last code that I use to...
View ArticleCan I make EC2 instance visible to all users in an organisation?
I have an organization and I want one user to create the EC2 and all other to be able to access it. Is that possible?
View ArticleMultiple Selenium drivers in EC2 always crash
I'm trying to use an EC2 instance to run several Selenium chromedrivers in parallel. When I run just one, it works fine. But as soon as I start a second Selenium process, both processes fail (as in,...
View ArticleSame Application in a docker compose configuration mapping different ports on...
The app has the following containersphp-fpmnginxlocal mysqlapp's APIdatadog container In the dev process many feature branches are created to add new features. such...
View ArticleAWS Docker Practices [closed]
The problem I am having is that the python application within my Docker image needs arguments for the read-folder path and the write-out path. How do I go about setting the Docker image to know the...
View ArticleAWS Auto-Scaling Testing
How do I test if my AWS auto scaling is working fine? Any lead to find a way to test this feature through Automation ? My aim is to make load on the servers and check if new AWS instances are spinning...
View Article