AWS, Cloud

ElasticSearch on Windows and in AWS

I played around with ElasticSearch. There’s all kind of tutorials out there that you can take on youtube and other online video subscription libraries. The purpose of this post was to document how I got ElasticSearch up and running on my Windows 10 machine as well as to show some queries.

If you need to do the same thing, please view the following video I made showing how to do it along with a demo on how it works.

Source code (and helpful links) are available on my github page at

https://github.com/kousekt/ElasticSearchNetCore11

Have a great one and thanks for reading.


 

I also upgraded the above example to run on AWS.

GitHub

https://github.com/kousekt/elasticsearchaws

 

Youtube describing this in action

Part 1:

Part 2:

Hope this helps anyone out there who needs to get ElasticSearch started up and going quickly.

AWS, Cloud, N/A

.NET Core 1.1 and 2.0 Redis clients locally and on AWS

I had to look into ElasticCache.  We have a .NET Core 1.1 and 2.0 apps.  In the process of exploring options to migrate them into the cloud, it was determined that we can take advantage of distributed caching.   AWS has ElasticCache which is a distributed caching service that allows you to create cache clusters for optimal performance.  The caching engines supported  are the very popular  Redis (“Re”mote “Di”ctionary “S”tore) and Memcached.

There are differences between the two (Redis supports complex objects as values and Memcached just strings as values).  Redis allows up to 512mb per key.  Memcached 1mb.  A particular  course I took on it said to go with Redis 99% of the time as it’s become the defacto.

A disclaimer I wanted to make.  I tossed the demos together super quick in the interest of time.

If you’re interested in learning Redis and need to support Redis in your .net core 1.1 or 2.0 app, I made the following video which includes links to the github repo as well as a demo.

To see how to deploy the application to AWS, you can refer to this video.

 

Github links

If you’re using .net/core 1.1

https://github.com/kousekt/RedisNetCore11Example

If you’re using .net/core 2.0

https://github.com/kousekt/RedisNetCore20Example