How to host wildcard domain on aws beanstalk?
I want to pass dynamic subdomain like a.example.com,b.example.com so I want to know how to achieve wildcard domain on aws beanstalk *.example.com
View ArticleIAM Policy to restrict one type of instances to Ec2-classic only
I am trying to restrict launch of c1.medium instance only for EC2-classic. My requirement is: - c1.medium can not be launched in VPC - c1.medium can only be launched in ec2-classic - No restriction on...
View ArticleIs there a way to delete aws EC2 intance windows server folders and log files...
We have an application running in ec2 windows server. The application returns logs that consumes the storage and make it full. we need to delete the logs from outside of the ec2 instance either using...
View ArticleSecurity group configuration for fargate task accesing ec2 not working
I have quite wierd problem with an AWS setup which I thought would be starightforward. I have a fargate Task which is run from a lambda function. The awsvpc config for this fargate task is as...
View ArticleHow to sort_by to get latest object using jq
So I run this: aws --region xxxxxxxxx ec2 describe-snapshots --owner-ids xxxxxxxxxxxx | jq '.Snapshots[] | select(.VolumeId=="vol-xxxxxxxxxxxxx")'And I get this https://jqplay.org/s/SnT8lDwycYHow do I...
View ArticleHow to use AWS for lighting fast fizz buzz
I would like to understand how to use cloud computing to make relatively simple programs very fast and store the results in a table (possibly AWS NoSQL). I am not interested in web hosting or web...
View ArticleHow to alert on the expiration of a X509 certificate located on an ec2 instance?
I would like to alert when a certificate on a ec2 is going to expire in 30 days. I have the different certificates running on different auto scaling groups. All the Auto Scaling groups have different...
View Articlehow to limit instance launch by instance type in AWS using IAM service
I am using the policy to limit RunIstances only to a specific instance types and a specific region. When I run the launch wizard or simulation under a test user I am getting "implicitly denied"...
View ArticleWhat is "EC2-Other" filter in "Cost Explorer" mean?
While investigating AWS Bill using Cost Explorer tool, I selected EC2-Other filter under services and it showed an amount around 5k monthly but I still don’t know what services are costing all this...
View ArticleHow to change termination protection by boto3
I want to teminate many AWS ec2 instance,then i use boto3 like this:#!/usr/bin/env python #coding=utf8 import boto3 ec2 = boto3.resource( 'ec2', aws_access_key_id="<AK>",...
View ArticleQuery tag value pattern using AWS CLI
Request you help, the output of the below AWS command displays the value of the field Tags[?Key==`te-name`].Value|[0] as below but I wanted to display only the partial string.Tag: te_name "SYS:DEV...
View ArticleHow to host wildcard domain on AWS Elastic Beanstalk?
I want to pass dynamic subdomain like a.example.com, b.example.com so I want to know how to achieve wildcard domain on AWS Elastic Beanstalk *.example.com.
View ArticleTriggering a build from Jenkins setup in aws ec2 when status of an issue has...
For integrating Jenkins with Jira i am using JIRA Webhooks and JIRA trigger plugin.I am using JIRA cloud and jenkins is being setup in aws .Path to jenkins is http://3.134.125.17:443When i try to enter...
View ArticleSetting up AWS EC2 instance with Tensorflow 2.0 -- AMI versus building it...
I need to setup an AWS EC2 GPU instance with Tensorflow 2.0. All of the docs that I have seen indicate that the current AWS AMI images only support Tensorflow 1.14 or 1.15, but not Tensorflow 2.0....
View ArticleAWS: Will my account get unexpected charges?
My AWS Free Tier is about to expire tomorrow, however I do not longer have active services within my account. I do not plan on using AWS anymore after my Tier expires, but since I do not trust Amazon...
View ArticleAdd Keypair to existing EC2 instance
I was given AWS Console access to an account with 2 instances running that I cannot shut down (in production). I would however like to gain SSH access to these instances, is it possible to create a new...
View ArticleHow to solve bash: pgsql: command not found on aws EC2
I want to use postgresql on my aws. But i can't do this command : "pgsql". Always not found. Please Help Mebash: pgsql: command not found
View ArticleAWS Application Load Balancer (ALB) path based routing not functioning as...
I am working on a POC to prove out AWS path based routing through an Application Load Balancer to a set of very basic "hello world" node.js applications using express. Without the path based routing in...
View ArticleGetting "AlarmName must not contain leading or trailing whitespace" when...
I am trying to use ansible module ec2_metric_alarm, to create Instance state alarms for my EC2 Instances, but i do keep getting error message "AlarmName must not contain leading or trailing...
View ArticleAMAZON EBS reduce volume size
I reduced the EBS volume size, following this tutorial: http://cloudacademy.com/blog/amazon-ebs-shink-volume/Then atach the reduced EBS to EC2 instance, but when status is "running", immediately the...
View Article