Trying to run discord bot on ec2 and this error happened
I am trying to run discord bot on amazon ec2, I made npm install, then I tried to run node . for test and this error poped up node . error then I noticed that when running npm install this pops up npm...
View ArticleI get ThrottlingException while using AWS translate api
I am running this code to translatetranslate = boto3.client(service_name='translate', aws_access_key_id="secret", aws_secret_access_key="secret", region_name='eu-central-1',...
View ArticleConnecting solr with aws RDS Mysql through data import handler
I recently started implementing solr-cloud on AWS EC2 for search applications. I have created 2 AWS Ec2 instances with the following configurations ---EC2 Type - t2.mediumram - 4GBDisk Space - 8GBOS -...
View ArticleAWS EC2 - Why Reserved Instances are not applied on Running On-Demand instances
I need your help for one of the EC2 configuration changes I made recently.I have 14 EC2 On-Demand running instances and sometime back I came to know that, I can actually reduce cost to half by...
View ArticleAWS CLI describe-snapshots to print SnapshotId
I am trying to print the SnapshotId for the newest snapshot using bash. Here is my command:aws ec2 describe-snapshots | grep TestVolume1 |head -n 1| > Output.txtAbove result matches TestVolume1 to...
View ArticleIs there any simpler way to capture JPEG image from aws ec2...
I'm trying to capture AWS Instance screenshot using this command aws ec2 get-console-screenshot --instance-id <i-0922..>The command gives me some json output with InstanceId and ImageData...
View ArticleAWS 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 ArticleLambda access to Kibana service on EC2 instance and also to S3
An Elastic IP was assigned to EC2, and an ELK service was built in the EC2 instance. In the security group, we restricted the Kibana service on port 9000, and only allowed private addresses (VPC) in...
View Articleaws ec2 ssh fails after creating an image of the instance
I regularly create an image of a running instance without stopping it first. That has worked for years without any issues. Tonight, I created another image of the instance (without any changes to the...
View ArticleMy aws ec2 servers ".SSH" folders permission was accidentally changed to 777...
My support team suggested they'll attach my old servers storage to a new temporary Server so that i can access to that storage and revert the changes to the .SSH, i think that's a good option so I...
View ArticleAWS - Steps/Consideration for migrating to latest generation of ec2 from an...
I am looking at upgrading from older generation ec2 to the latest generation for example m3.medium to m5.large. Are there any steps or considerations that need to be made when making this change? I...
View ArticleGet current InstanceId in AWS Java SDK
I am using the AWS CloudWatch SDK to record metrics from a program running inside EC2 instance. I would like to report back the InstanceId as a dimension for these metrics. How do I find out the EC2...
View ArticleHow to run codedeploy agent installation script in AWS ECS?
I have an AWS ECS cluster defined with a service that uses Replica service type. It creates an EC2 isntance with a docker container. I can access it through browser and all this stuff...The issue is...
View ArticleAre AWS RDS T3 instances launched with or without the "unlimited" flag?
When I launch an EC2 instance, I have the choice to launch T2/T3 instances with the "unlimited" flag to prevent CPU throttling, but possibly paying a higher cost when I use it over baseline...
View ArticleAWS Moving an spot instance to a higher specification
I'm new to using AWS and I'm running a Minecraft server on a Linux t3.small spot instance. Because of its spot type I cannot stop the instance to change the instance type to a t3.medium:I tried...
View Articledeploying yii2 project on aws ec2 instance
I have created a linux instance, uploaded the yii2 advanced project to the var/www/html file, and set the vhost. the problem is that the website does not work it is just listing the files of the path.I...
View ArticleIs there a way to protect my R code that runs on a AWS account owned by a...
I just joined a company that needs to build an ETL pipeline inside an AWS account owned by a client. There's one part of the ETL pipeline that runs a code written in R. The problem is, this R code is a...
View ArticleAWS Changing a spot instance to a higher specification or moving the data to...
I'm new to using AWS and I'm running a Minecraft server on a Linux t3.small spot instance. Because of its spot type I cannot stop the instance to change the instance type to a t3.medium:I tried...
View ArticleSyntaxError: Unexpected end of JSON input at JSON.parse?
Scenario: The API layer and the UI layer are deployed on AWS EC2 Instance (Amazom AMI Linux). The UI is being hosted using nginx on port 80 and the API is deployed using MS Krestel Server on port 5000....
View Articlejava.io.IOException: The document has no pages. Working fine locally but not...
Hi I am trying to create an PDF using itextpdf.It is working fine when tested locally.But after aws deployment I am getting 406 Not Acceptable with java.io.IOException: The document has no pages...
View Article