This blog will show how to use AWS elastic IP to assign to EC Instance but before that...
Why do you need to use an elastic IP address?
Assume you have the following EC2 had set up, you use your EC2 as a web server and the public IP address is as follows.AWSEC2
SSH into EC2 instance
To retrieve EC2 instance meta information, once SSH into EC2 instance type following command.
run with root privileges
list all the metadata
This blog shows how to backup EC2 instance and create another instance to the same region or different region.EBSEC2
Create Flow logs
Select the VPC to want to use flow logs, click action then click Create flow log.AWSVPC
This blog shows how to use AWS classic Load Balancer from scratch, first we need to do some preparation. At the end of the setup, you'll set up 2 EC2 instances with the public subnet.
Following are a list of preparation before setup the classic load balancer.AWS
This blog shows few ways of use AWS Network ACLs to block traffic to your site.
How to blocking traffic from a Specific IP address
AWS has few ways to block specific targets to access your site, for example, Network ACL or WAF.EC2AWSNetwork ACL
This blog shows how to use VPC Endpoint from private EC2 Instance to S3 without going through the internet, with VPC Endpoint access s3 should be within AWS service which will be no charge.S3VPC
If you just have 1 AWS account, you could just use that account for billing and development. However, if you have multiple AWS accounts, it is hard to manage each account's billing, so AWS has a way that is using AWS Organizations to consolidate billing.AWS
This blog will show how to create an AWS application load balancer with custom VPC's EC2 instances.
Setup Custom VPC
Go to VPC and click create VPC, enter the VPC field as below example.AWSVPC
Steps to provision EC2 Instance
This blog shows how to create EC2 instance.
Go to Compute and click EC2
Click Launch instance at EC2
Choose Amazon Linux 2 AMI
Choose Free Tier, t2.EC2AWS
This blog shows how to connect to AWS Linux or Ubuntu from Mac OS
First, make sure you have the EC2 Instance and have the following 2 things.
have the private key pair available in the Mac OS. (I.E. should be something looks like *.AWSEC2
This blog shows how to using s3 replication within your current AWS account.
Before start doing s3 cross-region or same region replication, make sure the target s3 bucket is ready. If you don't have a bucket, create a new bucket as following.AWSS3
This blog shows how to ssh to EC2 Instance via Chrome Extension Secure Shell.AWSEC2
This blog shows how to use AWS Instance Connect to SSH to AWS EC2 Instance. Unlike use Mac or Windows, you have to download private keys or use Putty to
SSH to the EC2 Instance, this is a much more easy way to connect to EC2 instance by just click the button on AWS.AWSEC2
You'll want to set up billing alarm with AWS, when you want to get notified when the amount goes to a certain limit. The following example is for when you want to get an email from AWS SNS when amount over 5 dollars.
First, let's go to the page to get started.AWS
This blog shows how to share an s3 bucket cross different AWS account.
First, you'll need to set up multiple AWS accounts by using AWS Organization.AWSS3
Use Github repo and AWS Pipeline to deploy to AWS Beanstalk
This blog will show how to use AWS CodePipeline to automate build code and deploy code at Github repo. Following are steps.
Github repo with node.AWS
Detect breakpoint by use @angular/cdk
How to upload Node.js App to Elastic Beanstalk
Following shows how to deploy a Node.js app to AWS Elastic Beanstalk.AWSElastic BeanstalkNode.js
This blog demo how to create use MVC Layout and Controller with Sitecore Layout and Controller Rendering. The final source you can get from here.Sitecore
Sitecore 9's installation is little different than Sitecore 8, it is recommended to use Sitecore Installation Framework, which you'll install the solution with Powershell. There are lots sites, videos are described how to setup Sitecore 9 already.SitecoreSitecore 9
Install Sitecore become easier by using Sitecore Instance Manager. This article will describe how to use SIM to install default Sitecore 8 site. Before start how to use install, the following are few links about SIM.SitecoreSIM
Install Visual Studio Team Services Extensions from Visual Studio Code Marketplace.Visual Studio Code
ASP.NET MVC's OutputCache
Build and Distribute xamarin app with mobile center
Following method is good for team mobile development, which you want whenever developer check-in have build to tell is either success or failed, also when developer getting latest they can get successfully build file.XamarinMobile Centerandroid
Use vue-i18n at Vue
Install to the different section of the package.json.
// for just install vue-i18n to node.js node module
npm install vue-i18n
// or install to dependencies section of package.Vue
Another cool name, Docker..!?
Docker supports both Windows and Mac and builds as the dev machine. I have used The VirtualBox from Sun Micrososytems, VMWare which is also a leader in the system virtualization and Microsoft Virtual PC.Docker
Yeah, hard to be the best, I think depend on the Enviroment or what you try to build the Practice of how to build Xamarin might end up differently.Xamarin
I want to save my anroid, iOS app's information to local device with SQLite at Xamarin.Form. This blog provide how to setup Enviroment to use SQLite.
Install Nuget package for SQLite
Install nuget package SQLite.Net-PCL, Xamarin.Form, Android and iOS projects.XamarinC#
Issue : build visual studio solution show following error message.Xamarin
A simple memo for deploying xamarin mobile app to Google Play Store
First, prepare following
Create account at Google Play Console, you have to register as Android developer, pay $25 yearly.Xamarinandroid
Microsoft Mobile Center
Mobile Center bring multiple service into single web based platform for developer, marketing person, manager.XamarinMobile Center
Open Source Components for Xamarin, has lots components for iOS and android or windows, such as Barcode Scanner, Bluetooth LE, Device Info, Fingerprint, Geolocator, Media.Xamarin
If you want to build app for iOS, android and windows and still want to use C# and Visual Studio, also want to use maximum native API as possible, then Xamarin could be a very good choice for you.Xamarin
Create Master Detail page layout with Xamarin
This blog shows example of how to create master detail page layout with Xamarin.Form project, or master detail with tabbed page.XamarinC#
How to setup Google Map at Xamarin.Form project
To use Google Map at Xamarin.Form, you'll need register google API account to get the key, add use permission on android's AndroidManifest.xml file, then add code to use.
Nuget package file at Xamarin.XamarinGoogle API
Example of setup the full-text search on SQL Server
SQL Server full-text search requires installing on SQL Server, after install the full-text search you can setup the index as follows.SQL ServerSQL
Add files, folder to ignore nuget packages folder.
If you use NuGet and build solution visual studio will get dll and download to packages folder, you don't want to check-in packages folder files/folder to your source control.Visual Studio
You might have seemed something like following, your ASP.NET MVC solution build ok but getting error following compiler error when deploying to IIS local site or cloud web server.C#.NETASP.NET MVC
If you use Xamarin at windows and want to build app for Android and iOS, you could use iOS simulator at your windows. However there's few software and setting you might have to do. I assume you're having problem at windows Xamarin Mac Agent and unable to connect to your mac.XamariniOSVisual Studio
Simple Guide to get start with Xamarin on PC
Xamarin could access almost all the native iOS or android API, and it's able to build with C# by drop controls like old windows forms, or you could build WebView by use the cshtml, which you can add js, html inside the Xamarin.XamariniOSandroid
So, Git, TFVC, and SVN, actually there is most source controls exist today, like Helix VCS, Mercurial, Rational ClearCase, CVS, Kiln, Bazaar, Fossil, Monotone, Plastic SCM, AWS CodeCommit and more. Some of them will disappear...Git
Angular2 Webpack Starter is prototype Angular2 application for you to start build application.Angular2
Get Start angular2 with angualr-cli
There're lots of thing you have to worry about for starting angular2, now Angular-CLI is build for this kind of purpose, it's a Prototype Angular2 application based on the ember-cli project.Angular2Angular-Cli
How to generate Pokemon Proto API to Csharp Type
Pokemon API use Google Protocol Buffers to generate API contract to C#. This blog will demo how to do that. Following demo we'll use Protobuf's 3.0.PokemonGo APIProtosPythonC#
Ctrl Shift `Use Command Prompt in Visual Studio Code
You could righ click the folder, then click the open in Command Prompt, or try following command in Visual Studio Code.Visual Studio Code