Hide EC2 Instance from other users?
I am giving access to AWS Resources to Cognito users, How can I hide other EC2 instances spinned up by other users. Can we filter based on tags. I have a policy in which user can control his resources...
View ArticleProbleme to upload data in Druid Database mounted in AWS EMR cluster...
I'm trying to upload data to Druid database (version : 1.70) mounted on AWS EMR cluster . the operation succés but there is no Data (0.0% available) like picture below . any one have an idea ? Thank you !
View ArticleApache Nifi: Cannot create PoolableConnectionFactory to MYSQL and Postgresql
enter image description here Nifi installed in EC2 and MySQL/Postgres installed in AWS RDSExecuteSQL[id=08233f4e-c80b-3708-584f-d0f830dc3bc9] Unable to execute SQL select query show databases; due to...
View ArticleInvalidClientTokenId when calling get-caller-identity on an AWS EC2 instance...
We're having an issue where we're on a CentOS EC2 instance that is using a role through an attached instance profile. When we're on the console after SSHing in, we run the python awscli command line...
View ArticleBoto EC2: Create an instance with tags
Is there a way with the boto python API to specify tags when creating an instance? I'm trying to avoid having to create an instance, fetch it and then add tags. It would be much easier to have the...
View ArticleHow to see console of my Node js app running on EC2?
I have my Node.js app is running on EC2. I have some "console.log" in my code for testing something. If I am getting into my EC2 through ssh on the Terminal (Mac), how to see all logs in real time ?...
View ArticleNot sure if my manage.py script is working
I am new to AWS and Python. I am trying to run python manage.py runserver 0:8080 . This has code to write to dynamodb.The cli is stuck at below :Performing system checks... System check identified no...
View ArticleHow to change the directory where my docker image is installed inside a...
When i do df -h inside my container i get thisFilesystem Size Used Avail Use% Mounted on overlay 30G 1.9G 28G 7% / tmpfs 64M 0 64M 0% /dev tmpfs 492M 0 492M 0% /sys/fs/cgroup /dev/xvda1 30G 1.9G 28G 7%...
View ArticleCannot connect Nifi to kafka in EC2
My flow : Error :PublishKafka_2_0[id=03bd7c4c-dade-386c-cbd9-015440cd41e2] PublishKafka_2_0[id=03bd7c4c-dade-386c-cbd9-015440cd41e2] failed to process session due to Timeout expired while initializing...
View Articles3 download not working from crontab script
I've posted about this question before, and I thought I had it solved, but unfortunately I still can't figure out what's going on.In a nutshell: I have one JSON file in an s3 bucket which is updated...
View ArticleHow to set up SSL with CloudFront for EC2 Instance (Wordpress)
I followed this guide to setup WordPress on EC2, but it doesn't cover how to enable HTTPS. I've used the 'WordPress Certified by Bitnami and Automattic' AMI. I know I can use CloudFront infront of EC2...
View ArticleAWS boto3 - how to run a spot instance?
I am currently do this to start an EC2 on-demand instance from a lambda function: ec2 = boto3.resource('ec2', region_name='us-east-2') instances = ec2.create_instances( ImageId='ami-0c709cc4edbf9a8c0',...
View ArticleQuery Request: EC2 Version
In StartInstances - Amazon Elastic Compute Cloud Amazon describes how to make a request to Start Instances of EC2 service.To write the parameters of request with a Signature Version 4, I followed...
View ArticleMsql 5.7 installation issue on AWS lightsail Linux
I am trying to install Mysql 5.7 on AWS Lightsail Amazon Linux, but facing error. It is latest VM with OS Only ( Linux / Unix blue prints) in Sydney, Zone A. I don't want to use per-installed LAMP with...
View ArticleHow to Setup Multiple Websites on Apache Web server for AWS EC2?
I tried to follow multiple articles on how to get multiple websites to work on apache web server using VirtualHosts. Unfortunately all the guides mention that I need two different domain names to...
View ArticleWhere is wordpress installed in linux file system? [closed]
This is my file system inside ECS i want to know where wordpress is installed so i can persist that dataI have tried persisting var/www/html but that doesnt work root@324asfhaw:/# ls bin boot dev etc...
View ArticleFailed to process JAR found at URL [jar:file:bcprov-jdk15-1.46.jar!/] for...
I have a seven web applications developed in Spring 3.2, all annotation based. I am using Hibernate 4.2 as my ORM framework. I create a tomcat image with all the seven wars packed inside and use the...
View ArticleBasic Auth on Nginx server on Elastic Beanstalk
I am trying to set up basic auth on my elastic beanstalk instance running nodejs, however, I cannot seem to get this working. I have followed this guide Nginx Server on Amazon EC2, but http traffic is...
View ArticleAWS Route53 subdomain for parent domain on another DNS provider
I have my website hosted in Manitu (a DNS provider), let's say the domain name is "example.de"Now I created a NodeJS web-app, that I want to host on AWS (Elastic Beanstalk). I just want to use the...
View ArticleLaunching ECS service from our own AMI
I am trying to deploy my sample Spring Cloud Microservice into AWS ECS service. I found that Fargate method and EC2 launch method. Here actually I am looking for to launch ECS service from my own EC2...
View Article