Sunday, February 18, 2024

MIME type text html

 


What

Last week, we faced MIME type error after the hosted server upgrade.  

Loading module from “runtime.4c09d92ae7f4a186.js” was blocked because of a disallowed MIME type (“text/plain”).  Strict MIME type checking is enforced for module scripts per HTML spec.

By design, Angular web app is hosted using AWS S3 and CloudFront architecture.

Where

These issues were related to three build files namely main.js, runtime.js and polyfills.js 

Why

Due to recent server upgrade process, Angular build files were uploaded into AWS to render as text/html by default. 

How

Fix is to upload files to s3 and specify the content-type in metadata for js files explicitly as below:

aws s3 sync $DIST_PATH/ s3://$BUCKET_NAME/ --include "*.js" --content-type "application/javascript"


Friday, February 9, 2024

Google Gemini

 


Yday, Google announced a major rebrand of Bard, its artificial intelligence chatbot and assistant, including a fresh app and subscription options. Bard, a chief competitor to OpenAI’s ChatGPT, is now called Gemini, the same name as the suite of AI models that power the chatbot.

Google CEO wrote in his note - "A new state of the art"

In December, we took a significant step on our journey to make AI more helpful for everyone with the start of the Gemini era, setting a new state of the art across a wide range of text, image, audio, and video benchmarks. However, Gemini is evolving to be more than just the models. It supports an entire ecosystem — from the products that billions of people use every day, to the APIs and platforms helping developers and businesses innovate.

The largest model Ultra 1.0 is the first to outperform human experts on MMLU (massive multitask language understanding), which uses a combination of 57 subjects — including math, physics, history, law, medicine and ethics — to test knowledge and problem-solving abilities.

Today we’re taking our next step and bringing Ultra to our products and the world.

Wednesday, February 7, 2024

AWS IPv4


Starting 1st Feb 2024, AWS Free Tier covers for Amazon Elastic Compute Cloud, 12 months free, to include 750 hours of public IPv4 address usage per month. 


AWS Free Tier for Amazon EC2 applies to in-use public IPv4 address usage. Usage beyond 750 hours per month of in-use public IPv4 address will be charged at $0.005 per IP per hour as announced in this AWS News blog. 


There is no change in pricing for idle public IPv4 addresses that you allocate in your account but don’t attach to an EC2 instance. IPv4 addresses that you own and bring to AWS using Amazon BYOIP will continue to be free. 

Sunday, January 28, 2024

Azure vs AWS 2023


With the recent learnings/working experiences, one question stroked my mind - Azure vs AWS.

An interesting article is available at https://www.simplilearn.com/tutorials/cloud-computing-tutorial/aws-vs-azure, based on last year 2023

In a nutshell, Azure and AWS are both well-respected members of the cloud domain. Azure holds about 29.4% of all installed application workloads while AWS stands at 41.5 percent.

Monday, January 22, 2024

GCP certification levels

 


Google Cloud certifications are typically categorized into three main levels: Foundation, Associate and Professional.

1. Foundation

The foundational certification validates your comprehensive understanding of fundamental cloud concepts. It requires knowledge of Google Cloud's products, features, services, tools, use cases, and benefits, with no specific technical prerequisites. Upon successful completion, the individual is certified as a digital cloud leader, qualified to work in any organization.

2. Associate level

This extends beyond a broad understanding of cloud features. It ensures that the credential holder possesses the essential skills to deploy, operate, oversee, and sustain projects on the Google Cloud platform.

3. Professional level

The professional certification enables individuals to evaluate essential technical responsibilities associated with specific and advanced roles. It equips candidates with advanced and specialized expertise in the design, implementation, and management of Google Cloud products.

Sunday, January 7, 2024

2024 Multi cloud


We're shifting our gear towards true multi cloud strategy.  

The primary driving factor is due to personal 3:4:3 (3 years: 4 quarters: 3 months) on cloud technology passion. Last couple of years, blessed focus on AWS and Azure in terms of work experience and industry certifications.  


This year, effort is towards Google Cloud Platform (GCP).

To kick start the multi cloud learning, here is the summary of Top-3 cloud platforms in the industry namely Amazon AWS, Microsoft Azure and Google GCP

 Happy New Year 2024!

Wednesday, December 27, 2023

AWS reinvent 2023



On 22nd November 2023, Generative AI was the focus at AWS's biggest annual cloud event, as well as news, keynotes, and innovation talks.

Details are available at https://aws.amazon.com/blogs/aws/top-announcements-of-aws-reinvent-2023/