Posts

Secure your applications using the powerful Spring Security library quickly and easily with MongoDB

Image
There are some obvious benefits to writing custom code versus using a plugin. When using a plugin you get a lot of things off the shelf rather than writing it yourself. But there is always that risk of adding more bloat to your code base than is needed, debugging and finally bug fixes. Using something as mature as Spring Security has its unique advantages and in my experience a very extensible family of plugins that have got the most love from the Grails community. Integration Steps :- Create New Grails Project Let’s create the new application, go to project folder then create new Grails application. Read more.. https://gsmplusinfotech.com/blog/secure-applications-using-powerful-spring-security-library-quickly-easily-mongodb/

Setting up an Application using Auto Scaling that can scale and load balance dynamically

Image
We have seen a general introduction of Auto Scaling in the previous article. In this article we will learn about setting up an application using Auto Scaling that can scale and load-balance dynamically without any human intervention. Prerequisites: Before going further into the article, you should be able to setup a load balancer, create EC2 instances, creating an AMI, able to Route 53 to configure DNS to point to an elb and working with the AWS management console. Auto Scaling ensures that desired number of instances is always available to handle load on your application. This way auto scaling equips your infrastructure so that your application always has the right amount of capacity to handle stable to varying traffic demands. Also auto scaling makes your application highly available and fault tolerant. As said earlier auto scaling comes with no additional cost and you pay only for the AWS resources that you actually use. We will look at the steps involved in setting up you...

Crashlytics – the most powerful, yet lightest weight crash reporting solution

Image
Crashlytics help spending less time on fixing crashes without looping in to various scenarios. It provides deep, actionable insights and even the exact line of code where the app crashed on. It gives you powerful crash reporting, with one click by enabling real-time analytics that helps to understand what’s happening in the app. Installing Crashlytics via CocoaPods: If you don’t already have a Fabric account, request an invitation from a member of your company’s Fabric organization or sign up and create a new organization. A Fabric account is needed before you can install any of their kits. Add the Kit to Podfile: The Crashlytics Kit can be installed using CocoaPods. Add following to podFile. Read more.. https://gsmplusinfotech.com/blog/crashlytics-powerful-yet-lightest-weight-crash-reporting-solution/

Conversion of a cPanel-based server from CentOS to CloudLinux OS

Image
In this article, we will first see why we need to switch to cloudLinux OS and then the installation of CloudLinux OS in a centos cPanel server. Why CloudLinux : In a non CloudLinux shared hosting environment all the resources such as  CPU, I/O and RAM are fully accessible to all accounts on that server and there is no hard limit set on the usage of these resources. Sometimes this leads to rogue scripts/programs on one client’s account to take up incommensurately large amount of resources, thus leading to the server getting overloaded and resulting in a degraded server performance for all the accounts in the server.To address this issue CloudLinux comes into action.CloudLinux creates a virtual environment for all the individual accounts on a shared server and allows us to limit the amount of resources any single account can use.This eradicates the single rogue account consuming all the resources available in the server.Your clients will immensely benefit from this. Lets ta...

UI/UX: The Necessity for Prototyping

Image
Prototypes are the combination of Wire frames and UI mock-ups which are created for representing the appearance of the application that are planned for development. The wire frames have to be laid out for determining the layouts whereas the user interface mock-ups can be outlined with the help of wire frames. Why do we need Prototypes? It’s easy to build and customized The most important reason is to reduce the development cost at an early stage of the application development. Prototypes are the crucial factors in determining the output. Prototyping saves your extra effort before investing your time and resource into the project. Development gets simple and clearer Prototyping is the process where the concept meets the reality to stand the ultimate test – the need to be, creative as well as practical. If you find an issue with your concept, you can change it quickly without an impact on the product.  In addition, it allows developers to iterate the designs as often as...

How to use redis session storage with Spring Security?

Image
Stateless architecture plays an important role when a particular user data has to be maintained across all the servers while scaling-out. This session management keeps improving for better results in a scalable environment. Spring session management brings innovation to the Enterprise Java session management space. Spring Session aims to provide a common infrastructure for managing sessions. This provides many benefits including Accessing a session from any environment (i.e. web, messaging infrastructure, etc.) In a web environment Support for clustering in a vendor neutral way Pluggable strategy for determining the session id Easily keep the HttpSession alive when a WebSocket is active It is important to understand that Spring session doesn’t depend on the Spring framework at all. Hence can be used in any kind of java frameworks. Why redis? Read more.. https://gsmplusinfotech.com/blog/how-to-use-redis-session-storage-with-spring-security/

Hosting a Static Site in Amazon S3 using your Domain

Image
A web server is not always required to host websites! Yeah you read that right. You can host your website just using Amazon S3. But it should be a static site i.e.,. it should serve only static content and client side scripts. This reduces costs and adds the benefit of being hosted in a well architect-ed infrastructure. NOTE:   A dynamic website which requires server power for processing containing scripts such as PHP, JSP or ASP.NET, etc.,. cannot be hosted using S3. A dynamic website can only be hosted in resources such as an EC2 instance. Registering the domain: The domain name have to be registered at a registrar if it is not registered already. We will be using the domain yourdomain.com with Amazon Route 53 as the DNS servers. Configuring the S3 Buckets: Two S3 buckets have to be created. One with the www sub domain and another without for example, two buckets namely yourdomain.com and www.yourdomain.com. One bucket will be containing the site’s content (bucket n...