terraform : Error creating Security Group: UnauthorizedOperation: You are not...
I have a below terraform script which works fine when use it on terminal.provider "aws" { region = "${var.aws_region}" } resource "aws_instance""jenkins-poc" { count = "2" ami = "${var.aws_ami}"...
View ArticleWhat is the best practice when deploying a C++ App on a EC2 instance? [closed]
I would like to deploy my C++ App on an AWS EC2-instance.I am thinking about doing this in one of the following ways: Upload my code to GitHub, ssh into the EC2-instance, git pull the repo, build the...
View ArticleFails to import VM with "ClientError: Unknown OS/Missing OS files" using...
I created a linux (Ubuntu Server 16.04) based VM and tried exporting and converting it to AWS EC2. This is the error that I received - { "ImportImageTasks": [ { "Description": "ova_test",...
View ArticleHow does an EC2 instance access the Aws Secrets Manager
I have a .Net Core application that runs on an EC2 instance. I am looking this application to get the secrets I have stored on the Secrets Manager.I have created a IAM Role that allows the Ec2 instance...
View ArticleCan I shift an existing EC2 instance to free-tier?
I made a free tier server on my account and configured it there. Then I had to shift the server to my client's account I made an image of that server and copied it to my client's account so that I...
View ArticleTrack AWS EC2 Creation
I'm looking for a way to track (via SNS notification) when someone in my organization launches a new EC2 instance. I'm currently using CloudWatch rules to track S3 bucket creation and EC2 termination....
View ArticleIs there a meaning of in names of AWS instance type prefixes? or it just random?
You will find these prefixes in aws documentation over various instances types: 'a', 'm', 't', 'r', 'c', 'u', 'x', 'd', 'i', 'f', 'g'.I can only assume C stands for Compute R stands for RAM G stands...
View ArticleHow to install Openproject in linux aws
I am not able to install the openproject in Aws, facing lot of problems in installing it in all the distribution of Linux. Also, there is not much support in openproject community.
View ArticleFailed while starting httpd service on cetos 7
[ec2-user@ip-12-5-0-13 httpd]$ sudo systemctl start httpd Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for...
View ArticleUnable to access date value in an object
I'm using Aws\Ec2\Ec2ClientWhen I print $instance['LaunchTime'] I get:Aws\Api\DateTimeResult Object ( [date] => 2020-03-03 17:13:13 [timezone_type] => 2 [timezone] => Z ) Unfortunately I'm not...
View ArticleUnable to install arm toolchain on AWS EC2 Ubuntu virtual machine [closed]
I am using AWS EC2 for a virtual linux (ubuntu) environment. But I found it very frustrating when most of the packages aren't available. For instance, when I try installing the cross compiler (arm)...
View ArticleGrave (`) is marked as illegal token
I've been trying to transfer a node program I created locally to an EC2 server via Cloud9, and I have already manually replaced all of the (req,res) => {} statements because it didn't accept that....
View ArticleSpinnaker clouddriver doesn't start
After Spinnaker deployment on EC2, clouddriver doesn't start. tried the same on local machine and the result is the same. Trying to run 1.6.1 on ubuntu 16.04. I am using s3 as storage aws as...
View ArticleMySql Remote Connection Error - Status: failure -Test failed: IO Error: Bad...
I have a MySQL server running on AWS EC2 instance. It has all the necessary configurations to allow connections from outside. But when I'm trying to connect it through sqldeveloper it gives an error as...
View ArticleConnect domain with aws with route 53
I want to connect my domain with AWS ec2 instance by using route 53 services. I already using another instance for simple email service so I didn't want to change the nameserver of the domain, as it...
View ArticleUnable to launch EC2 instance
I'm trying to launch an EC2 instance, but I'm getting the following error message and don't know what to make out of it.Each network interface requires either a subnet or a network interface ID. I...
View ArticleHow to transfer files to AWS PRIVATE Ec2 instance available in VPC?
I have one AWS private ec2 instance available in VPC. I also have one public subnet ec2 instance available in same VPC. I am able to connect to public instance using putty and as well as I am able to...
View ArticleWebsite hosting in aws using ec2-ubuntu server
I need to host two applications in apache2 using same instance,first application is hosted it working fine but i am trying to host second application getting the error "page not found" the url is not...
View ArticleVPC for real time project
Hi I'm new to AWS and I've been given task to deploy services on EC2. I've been asked to create VPC for the same.Spring boot services will be deployed in EC2 with Postgres Database. Some of the post...
View Articlepassing command from awk to the next command using xargs
I am using AWS EC2 CLI to perform a filter on stopped instances, then create an AMI out of these with the AMI name taken from the instance tag.aws ec2 describe-instances --output text --profile proj...
View Article