Friday, November 02, 2018
Monday, October 08, 2018
S3 Bucket Policy - Applying security when redirecting from a domain
If you want to apply S3 bucket policy to protect the GET access originating from a URL , check this example out :
Restricting Access to a Specific HTTP Referrer
Wednesday, August 08, 2018
The requested URL can't be reached - MuleSoft Mock Service Error
Error encountered while accessing Mock Service
The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
for details refer
https://docs.mulesoft.com/api-manager/v/1.x/accessing-your-api-behind-a-firewall
For testing purpose as quick fix "Bypass the proxy". Select option next to "Mock Service" stating " API is behind a firewall"
Actual fix before you implement it in Test/Production environment is to implement and apply a CORS Policy for your browser to be able to load the resources in the API behind your firewall and the Anypoint Platform’s browser tools
https://docs.mulesoft.com/api-manager/v/1.x/cors-policy
Sunday, August 05, 2018
Friday, March 30, 2018
Cloud vs On-Prem
5 min narrative on difference between Cloud vs OnPrem
https://www.youtube.com/watch?v=Ri39--x1d24&t=21s
https://www.youtube.com/watch?v=Ri39--x1d24&t=21s
Sunday, March 11, 2018
Setting VPC as default VPC in AWS
Not a new question and i have been asked about it multiple times in past 2 years. How can i set VPC as "default VPC"
and answers is...
You cannot at this time using console/CLI/ API. If it is must contact AWS support.
Wednesday, March 07, 2018
Mechanical Sympathy - Learning from Racing
Formula 1 world champion once stated
“You don’t have to be an engineer to be a racing driver, but you do have to have Mechanical Sympathy.”
– Jackie Stewart, racing driver
This fits so well with technology. What Jackie meant is that understanding how a car works make you a better driver. This is so much true for writing code mainly in today's cloud technology. You need to have a basic understanding of hardware to create a good software.
“You don’t have to be an engineer to be a racing driver, but you do have to have Mechanical Sympathy.”
– Jackie Stewart, racing driver
This fits so well with technology. What Jackie meant is that understanding how a car works make you a better driver. This is so much true for writing code mainly in today's cloud technology. You need to have a basic understanding of hardware to create a good software.
Friday, February 09, 2018
Saturday, February 03, 2018
The specified framework 'Microsoft.NETCore.App', version '1.0.0' was not found
Error white running EF framework command
Resolution
Install latest .NET Core SDK
https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.2-download.md
Resolution
Install latest .NET Core SDK
https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.2-download.md
Sunday, January 28, 2018
AWS vs Azure Pricing
Handy Tool for estimating the price of services offered by AWS / Azure
AWS
https://calculator.s3.amazonaws.com/index.html - Simple Monthly calculator
https://aws.amazon.com/tco-calculator/ - TCO Calculator
Azure
https://azure.microsoft.com/en-us/pricing/calculator/
AWS
https://calculator.s3.amazonaws.com/index.html - Simple Monthly calculator
https://aws.amazon.com/tco-calculator/ - TCO Calculator
Azure
https://azure.microsoft.com/en-us/pricing/calculator/
Azure vs AWS
Not a surprising question by all the Cloud savvy peers!
Simple comparison data published here
Do check out the link
Unable to connect - Azure Hybrid Connections
After you have configured the Azure App Service Hybrid connection, you might have a scenario when the Status of showing up as "Not Connected"
Azure Portal - > App Service -> Select App - > Networking - >Configure Hybrid connections
"Status : Not Connected"

One way to get more information on the issue is to run a get-hybridconnection powershell command in On-Prem client machine
In this case server was not connected to the internet. The server was placed in private subnet with no NAT gateway connectivity to internet. Once the server was connected to internet , issue was resolved.
Azure Portal - > App Service -> Select App - > Networking - >Configure Hybrid connections
"Status : Not Connected"

One way to get more information on the issue is to run a get-hybridconnection powershell command in On-Prem client machine
In this case server was not connected to the internet. The server was placed in private subnet with no NAT gateway connectivity to internet. Once the server was connected to internet , issue was resolved.
Wednesday, November 29, 2017
Tuesday, November 14, 2017
ARN AWS - What is it and how can i make one for a resource?
If you are into AWS coding and access AWS resources , assign policy to user in AWS pragmatically than you will be working with ARN a lot
The below 2 links are very handy to work with ARN
What is ARN
How to define one?
Saturday, October 28, 2017
Instance does not have a volume attached at root (/dev/sda1)
Error :Instance does not have a volume attached at root (/dev/sda1)
The error occurs when either a boot volume is missing or mapped to wrong device name. In this case EC2 instance is expecting the boot device name /dev/sda1 to be connected to the EC2 instance and unable to find it
The step is valid for EC2 instances is backed by EBS volumes i.e EBS is used for boot volumes rather than Instance Store
Note: To Understand more about Instance backed store and EBS backed store
refer this article Amazon EC2 Root Device Volume
To attach a root volume follow these steps.
The error occurs when either a boot volume is missing or mapped to wrong device name. In this case EC2 instance is expecting the boot device name /dev/sda1 to be connected to the EC2 instance and unable to find it
The step is valid for EC2 instances is backed by EBS volumes i.e EBS is used for boot volumes rather than Instance Store
Note: To Understand more about Instance backed store and EBS backed store
refer this article Amazon EC2 Root Device Volume
To attach a root volume follow these steps.
- Once EBS volume is created , right click and select Attach Volume
- Select the EC2 instance in second textbox and enter the device name as "/dev/sda1"
- Click Attach and restart the EC2 instance
node -v ReferenceError: node is not defined
Trying to make node.js work with command node -v and end up with an error
node -v ReferenceError: node is not defined
You are probably trying to run the command in REPL virtual environment
In order to check node.js version go to the folder with node.js files and run command from command prompt
About REPL
REPL ( Read- Eval-Print -Loop) is an virtual environment that comes with Node.js. It is tool to test simple Node.js javascript code.
Tuesday, August 29, 2017
AWS Costing
If you ask any AWS geek , what is the biggest change they have noticed after moving On-Prem workloads to Cloud, you will mostly hear typical well known answers "better management" , "Less Operations overhead "...so on ..
One important trait which they aquire but will not acknowledge as they are not aware either is acquiring a "Mulah mindset" . [ for those who are wondering what mulah is, let me make it simple. mulah ~ money"]
Be an Architect , IT manager, Developer one thing you need to be good at when working with AWS is costing. I know its hard , never had to deal with costing before so frequently as old school style only involved painful money discussion during the budget cycle when capital investment needs to be budgeted during initial stages of planning.
Good part is, you don't need to have a Phd to understand costing but do need to spend some effort to get used to calculation. [ Paradigm shift is good thing]
AWS provides some good tools and lots of information to make life easier . Below are some useful links
Monday, August 28, 2017
AWS Elastic Beanstalk vs AWS CloudFormation
One question , i get in most of sessions when talking about Elastic Beanstalk is
"difference between Elastic beanstalk and CloudFormation"
I would like to keep this explanation very simple.
Use Elastic Beanstalk when you want to deploy the application from supported developer tool and don't want to worry about provision of infrastructure prior to deployment. Elastic beanstalk framework will provision the infrastructure and deploy the code to servers.
Use CloudFormation when you want a framework to define collection of related AWS resources and provision them in an orderly and predictable fashion
Important to Note
AWS CloudFormation supports Elastic Beanstalk application environments as one of the AWS resource types
Detailed Information :
CloudFront
Elastic Beanstalk
"difference between Elastic beanstalk and CloudFormation"
I would like to keep this explanation very simple.
Use Elastic Beanstalk when you want to deploy the application from supported developer tool and don't want to worry about provision of infrastructure prior to deployment. Elastic beanstalk framework will provision the infrastructure and deploy the code to servers.
Use CloudFormation when you want a framework to define collection of related AWS resources and provision them in an orderly and predictable fashion
Important to Note
AWS CloudFormation supports Elastic Beanstalk application environments as one of the AWS resource types
Detailed Information :
CloudFront
Elastic Beanstalk
Tuesday, July 11, 2017
DIY vs AWS
Came across a very good , simple to understand comparison between AWS and DIY (Do-It Yourself)
|
DIY
|
AWS
|
|
Scale Up
|
Elastic Service(On-Demand/ When needed)
|
|
Assume Reliable Infrastructure
|
Assume Infrastructure Failure
|
|
Diverse Technical Expertise
|
Application Based Expertise
|
|
Application Unaware of Infrastructure
|
Application aware infrastructure
|
|
High Upfront Cost
|
Usage Based Cost
|
|
Design, Build, Operate
|
Limited Knowledge/ Shared Support
|
|
Showback , charge back challenging
|
Showback , Chargeback can be achieved by granular monitoring of usage
|
AWS vs Azure
Age old question .....
Check this comparison matrix
https://azure.microsoft.com/en-us/campaigns/azure-vs-aws/mapping/
Check this comparison matrix
https://azure.microsoft.com/en-us/campaigns/azure-vs-aws/mapping/
Subscribe to:
Posts (Atom)
Design a Zero Trust pipeline using Confidential Computing
Check out reference diagram to design a zero trust pipeline https://blogs.oracle.com/cloud-infrastructure/designing-zero-trust-and-resilie...
-
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...
-
Am sure lot's of people would be wondering how to hide menu items of a list eg document libraries "Send to " menu item . In o...
-
Ever thought of printing a content of web part rather than complete page in sharepoint ? Follow the Steps: Create Print Button : Add content...
















