Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.
After Years of Developing Lambda Scripts from creating Serverless Applications to Pipelining your Tasks, Here are the Best Practices that we follow.
CORS with Amazon S3 and CloudFront
CORS - Cross Origin Resource Sharing is a security measure to block macious scripts or resources loading from foreign domain origins. This security will become hurdle when want to load resources from Amazon CloudFront this is often encountered when we want to load fonts from CloudFront. Here are simple yet detailed steps to enable CORS on CloudFront.
Amazon AWS IAM Roles and Policies
When You want to Provide access to Amazon Web Services Console or if you're planning to provide REST API Keys to your Developers of a Third Party Person, Using Providing access to Root Account Console or API Keys is not advisable since they basically will have full level access. Instead, we can rely on IAM(Identity and Access Management). Require any support regarding AWS IAM Roles and Policies then contact development services to know more
Amazon SES - Handling Bounces and Complaints
In general while sending emails, we will prepare some recipient addresses as our mailing list, which is valid and our recipients want and expect our mail. But sometimes, some emails which are invalid will bounce, and if valid recipients do not want your mail, they may mark your email as spam in their email client. High bounce and complaint rates put your account at risk of being shut down. So in order to avoid such problem, we'll handle the bounces and complaints and will remove those emails for not sending any emails further.
Django Hosting on Amazon EC2 with Wordpress on Same Domain
Configuring the Wordpress as subdirectory can be tricky. In this tutorial, we will Setup a Django Website alongside a WordPress blog. Our Site Structure will be
example.com ------------> Django Website
example.com/blog -----------> wordpress
Configuring and Testing Load Balancer in AWS EC2
When You have an application that is serving Huge Customer Base, so will be your Traffic. Sometimes The Application stops responding. We can use load Balancer in cases like this which distribute the Traffic it receives between the multiple VPS running the same application. AWS Professional Services helps to scale your application as your business grows.
Creating Elastic Search Cluster (EC2, Cloud-AWS Plugin)
While handling Large amounts of data with elastic search, you may run out of server capacity or compute power, Forming an Elasticsearch cluster will reduce the load distribution. In Single, ElasticSearch Instance endpoint acts as Data Node + Master Node + Client Node.
Paginating S3 Objects using Boto3
When using Boto you can only List 1000 objects per request. So to obtain all the objects in the bucket. You can use s3 paginator. To use paginator you should first have a client instance
How to Setup Custom Domain for Amazon Cloudfront
Instead of cloudfront default domain, we can customize it usinh cdn. ex: cdn.sitename.com. If you are struggling with any AWS related services contact our certified AWS Consultant to move your business smooth.
Deploying Django project on Elastic Beanstalk
This section focuses on how to setup and deploy a Django application to Amazon Web Services(AWS).