fabiochiu/medium-articles huggingface dataset:
How is Indian Government Fuelling Surge of Indian Car Airbag Market?
By: Punit Shah
Tags: Industry, Airbag, Business, Auto, Car Airbag

The rising prevalence of road accidents and the increasing awareness amongst the people about passenger and vehicle safety are some of the key factors fuelling the rising demand for airbags in cars in India. The vehicular population in the country has tripled over the last decade and this is one of the major factors responsible for the heavy road traffic congestion in the country. Moreover, the negligible growth in the road density in many cities and towns has contributed significantly toward the increasing incidence of road accidents in the country.

The other major factor responsible for the rising incorporation of airbags in cars in India is the presence of stringent government policies pertaining to the adoption of airbags in cars in the country. Owing to the increasing number of road accidents, the government and various other regulatory bodies are increasingly enacting strict measures and regulations for mandating the adoption of airbags, even in the low and medium-range cars in the country. Due to these factors, the Indian car airbag market is predicted to register huge growth during the forecast period (2020–2030).

There are two main car airbag distribution channels in the country — the original equipment manufacturers (OEMs) and the automobile aftermarket. Of these, the OEMs recorded higher sales of airbags during the historical period and this tend is also expected to continue during the forecast period. This is primarily attributed to the presence of strict government regulations mandating the incorporation of airbags in certain vehicles in the country. However, as per many surveys and studies, the aftermarket distribution channel is expected to record faster rise in popularity and thus, faster growth in the Indian car airbag market during the forecast period.

Hence, it can be said with certainty that the adoption of airbags will shoot-up in the cars in India in the upcoming years, on account of the rising incidence of road accidents and increasing enactment of policies and regulations aimed at promoting the adoption of airbags in cars in the country by the government and other regulatory bodies.
WHO GOT CONNECTS: HIP HOP’S FAMILY TREE
By: J Hall
Tags: Industry, Hip Hop, Family, Culture, Music

Violator had a similar “diversify and conquer” blueprint as Staten Island group Wu-Tang Clan, where different artists operated from various labels. The Violator roaster included Busta Rhymes, Fat Joe, Mobb Deep, Mariah Carey, Q-Tip, Missy Elliot (who along with friend Timbaland first worked with…

Click link below for the full interview:

J Hall is a Detroit bred Howard Bison multimedia culture critic. An abstract thinker who believes “You ain’t wrong when you’re right,” and that his mother’s cupcakes are legendary. Check out his slight worldwide view here: https://linktr.ee/jhall
Why Safety Helmets are important?
By: All India Info
Tags: Industry, Manufacturing, Safety, Safety Helmets, Construction

Trade Brick is the manufacturer of Construction Safety Helmets in India

Working on a construction site, or any workplace where heavy objects and machinery operates is dangerous and is prone to accidents. One should not forget to wear a safety gears like safety helmet, jackets, gloves etc. for their safety. There are many industries and sectors where there is a risk of head injury. To protect the workers from these injuries, it is important to use correct safety helmet.

Why Safety Helmets Are Important?

1. Protection against Head Injuries

2. Protection against Slips and fall

3. Increases Chances of Survival in Accidents

4. Improves Employee Visibility

5. Provides Company Branding

6. Provides Sun Protection

7. Provides Adequate Ventilation

No matter how hard the workers may find the task of wearing a hard hat throughout the day, once they get the hand of its many benefits and how the scenario has improved in recent years, they will be more than happy to wear safety helmets for improved protection at the worksite.

Trade Brick is the best-in-class manufacturer plus supplier of Safety Helmets. Now you can get stylish and affordable safety helmets online at tradebrick.in. One can also get their helmets customized as per their requirements. Take advantage of our genuine products, best prices and fast delivery anywhere in India.

White — Managers | Black — Site Supervisor | Yellow — Site Workers | Grey — Visitors | Red — Firefighters | Green — Safety Officers | Blue — Electricians / Carpenters or other Technical Operators.
The importance of kicking a ball
Tags: Passion, Football, Industry, Love, Soccer

Yesterday, I was watching the TV, reading newspapers, listening to the radio…everybody was talking about a person the whole day long. Maradona.

No worries guys, this text is not about Diego. This text is about the importance of football.

“Football is not fun, football is just 22 guys kicking a ball around”.

How many times did you hear this opinion? I heard it a lot of times.

However, these people can not be farther away from reality. Yes, I can understand that you don't like it. But, you can't say that it is something simple. Why?

First of all, because football (soccer) is the most popular sport in the world. Secondly, because according to Deloitte, the football industry generates over 500.000 million dollars per year.

Nevertheless, the reason why football isn't just “kicking a ball around” is because of the fans. Football makes them feel different kinds of emotions during a game. Football will make you feel happiness, sadness, proudness, embarrassment, madness… and I can keep going. Also, football gives you memories with friends and family that make this sport unique.
Privatization of PSUs: Is it Atmanirbhar Bharat?
By: Genuine Matters
Tags: Industry, Railways, India, Foreign, Privatization

With the recent plan of privatization of many PSUs ( Public Sector Undertakings ), this is the government’s move to uplift the economy. The plan to privatize the PSU’s was proposed by Finance Minister Nirmala Sitaraman.

The government believes this to be the best possible way out of such a debt. As we all know the economy is negative and a quick revival is necessary but is this the cost we need to pay. Find out further in the article.

WHAT IS PSU’S?

The government of India keeps certain agencies and industries under its control. These sectors are known as Public Sector Undertakings.

The work of these sectors is also undertaken by government. These units are formed with the sole motive to generate employment in the country.

Earning profits is not their motive. Several exams are also conducted for the recruitment to these departments.

Service to the layman of the country and providing the best in transportation and finances is not only necessary but is also the duty of the government.

PRIVATIZATION IN THE FOREIGN NATIONS

Is privatization good or bad for a country simply depends on the economic condition of the country . The status of a country , i.e. whether it is a developing or a developed nation also hold significance.

If we talk about the developed countries like that of the west then major improvement is seen in the quality of services provided.

Private sector firms that take over the public sectors always aim at providing the best of services and constantly upgrade to the better technology.

With the increase in facilities and better services, it is obvious that the cost of availing the services will also go up.

If a nation is already a developed one then no significant change is seen in the level of its citizen’s spending when the public sector is privatized.

The amount spent on transportation and other things is more or less the same. It happens because the per capita GPD and income of the people are high.

So a slight change would not affect them. People over there also wish for better services as the quality of life is also very high…. Read more at Genuine Matters
INDUSTRY INSIGHTS
By: Zaqa Zeeshan Saif
Tags: Journalism, Industry Insights, Industry, Nsu

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
FEELM Granted as Industry Leader at Vapouround Awards 2020
By: Feelm Tech
Tags: Vaping, Industry, Leaders, Technology, Awards

On November 19th, Vapouround, the prestigious vape media, announced the Vapouround Awards 2020 Winners on its official website. FEELM won two valued awards — — Industry Leader and Innovation of the Year!

Vapouround is one of the most influential and respected media in vape industry. Its Vapouround Bus has contributed a lot to the education and development of vaping. The annual Vapouround Awards Ceremony has been a grand occasion for the whole industry, especially Europe.

This year, FEELM was granted the Industry Leader Winner after being assessed from global market share, global influence, technical innovation, consumers’ feedback and several other vital perspectives.

FEELM Tech is a revolutionary atomization technology brand belonging to SMOORE, which was just listed on Hong Kong stock market this July (stock code: 6969.HK). According to Frost & Sullivan, SMOORE was the world’s largest vaping device manufacturer in terms of revenue, accounting for 16.5% of the total market share, in 2019.

The unique FEELM ceramic coil is the core of FEELM technology. It’s composed of a porous ceramic conductor and a thin layer of the metallic film. It’s specially designed for closed pod systems. FEELM Tech’s atomization technology first appeared on the market around 2018. Till now, it has been widely adopted by over 15 brands. And the annual productive capacity of FEELM inside pods has surpassed 1.2 Billion.

FEELM employs over 600 exports — scientists, PhDs, and researchers — in materials and atomization fields. After making breakthroughs in materials science, hydromechanics and other areas, the FEELM coil was created. Furthermore, FEELM has applied over 1600 global patents. Till now, FEELM has won a number of domestic and international awards like Golden Leaf Awards, China Patent Excellence Award and iF Design Award 2020.

FEELM will still be devoted to improving the atomization technology, helping more adult smokers to lead a healthier life.
Something you didn’t know about the richest family in Asia: The Ambani family
By: Meghna Maheshwari
Tags: Asia, Industry, Family, Business, Reliance Industries

“Our dreams have to be bigger. Our ambitions higher. Our commitment is deeper. And our efforts greater. This is my dream for Reliance and for India.” — Dhirubhai Ambani

Dhirubhai Ambani is the founder of Reliance Industries Limited, which is India’s largest Private Sector Company. Credited with various monetary advancements in the Indian capital business sectors. Today, the Reliance Group has one of the biggest groups of investors in the world. With speculation of over Rs 36,000 crore (US$ 9 billion) in oil refining, petrochemicals, power age, media transmission administrations, and a port terminal in a three-year time span, has directed the Reliance Group to its present status as India’s driving materials oil petrochemicals-power-telecom player.

Among many other prestigious awards by organizations all across the world, Dhirubhai Ambani received the ‘Businessman of the Year 1993’, by Business India in January 1994.

Dhirubhai Ambani

Dhirubhai was born on 28th December 1932, in Chorwad, in the district of Junagarh, Gujrat.

His dad, Hirachand Govardhandas Ambani, procured little as the town teacher. He was, nonetheless, a man of basic propensities and carried on with a deliberate life. Dhirubhai’s mom, Jamanaben, was a frugal lady and realized how to extend every penny far.

He got married to Kokilaben in the year 1955. They were blessed with 2 sons and 2 daughters, named Mukesh, Anil, Dipti and, Nina.

Mukesh Ambani’s net worth today is $74 billion, making him the 5th richest man in the world. While on the other end his brother, Anil Ambani who is the chairman of Reliance Group is running on the blurry lines of bankruptcy. Nina Ambani(now Nina Kothari), plays the role of family peacemaker between the brothers, maintaining its integrity. Dipti Ambani (now Dipti Salgaokar) is a homemaker, currently settled in Goa.
CinemaDraft Podcast #88: Top 5 Things Edwardo’s Watching Now 11–24–20
Tags: Industry, DFS, Games, Movies, TV Shows

It’s the rare holiday solopod as Edwardo battles technical difficulties to discuss the top 5 shows he’s watching (1:47); the well-done yet cringy A TEACHER (10:19); a spotlight on HBO’s finance drama hornfest INDUSTRY (20:16); the Quarantine Movie of the Week (24:56); and an update on the DraftStream alpha test game (27:14).

Click the link to participate in this week’s game by 6PM PT 11/25/20: https://bit.ly/3kZ801V

Rate and review the podcast at https://ratethispodcast.com/cinemadraft.

Visit the site to sign up for the free beta at https://cinemadraft.co.
Stock Exchange
Tags: Stocks, Exchange, Banks, Industry

“Market where company shares are bought and sold, among other financial products.” In the 14th century, merchants from Bruges (Flanders) met for their business in a building owned by a noble family called Van Der Büerse, whose coat of arms consisted of three leather bags. By extension, the places where commercial transactions were carried out began to be called Stock Exchange throughout the region. Thus, in the following years several “bags” were born in cities such as Antwerp and Ghent.

The first where shares were put up for sale was the Amsterdam Stock Exchange (which is therefore usually considered the oldest), when in 1602 the Dutch East India Company, the first public limited company in history, began to offer stakes in your businesses to finance your business expansion.

In this way, it was possible to raise large sums of money through small investments of the savings of a large number of people and in exchange for a participation (the shares) in the results of that business.

This function of financing by a company and investment by an individual, born from the needs of the colonialist mercantile companies of the time, as were the British or Swedish, continues to be the main one of the current Stock Exchanges.

The institution of the Stock Exchange finished its development in the following centuries, coinciding, of course, with the expansion of capitalism and private enterprise.

Thus arose that of London (1570), that of New York (1792), that of Paris (1794) and that of Madrid (1831). In all of them, the shares of the main companies in each country are bought and sold.

In this way, the Stock Exchange is an organization that provides a market where companies can offer their shares and investors, usually through intermediaries called stock brokers, can buy them.

In other words, it is where companies offer their shares (participation of other new partners in their companies) for money, to finance their expansion projects, so as not to resort to bank financing.

This market establishes rules and demands requirements that allow it to operate with certain guarantees of transparency.

Among the most important Stock Exchanges in the world are: the New York or NYSE (New York Stock Exchange), the main stock market in the world, located on Wall Street (New York) and where indicators such as the Dow Jones and the Nasdaq; the Tokyo Stock Exchange or TSE, which hosts the Nikkei 225, where the 225 most liquid companies in the Japanese economy are listed; the London Stock Exchange, the British market, where the FTSE-100 index is traded; or the Madrid Stock Exchange, which hosts the Ibex 35, made up of the quotes of the 35 most important companies in the country.

As a curiosity, it should be said that the images of the “trading floors” of the stock exchanges full of operators running to all sides and shouting everywhere have gone down in history, with few exceptions such as New York. Today, most operations are carried out remotely using computers.
Արմսպունգ. Ընտրիր հայկականը
By: Nune Matevosyan
Tags: Armenia, Industry, Business, Product, Economy

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Sugar, Salt, Fat, Caffeine— Your Addictions
By: Jo Ann Harris
Tags: Addiction Recovery, Industry, This Happened To Me, Food, Addiction

Sugar, Salt, Fat, Caffeine— Your Addictions

Photo by Lidye on Unsplash

Sugar

How did all this come about? This addiction to sugar. I remember when I was a kid we had sugar and it took a toll on my teeth. Lost two teeth because of all the candy we had. I don’t even remember eating it. I think a lot of my addiction came from plain old white sugar my Mom would put in our oatmeal each morning because I don’t remember candy. We were too poor to have candy. Apparently, candy showed up somewhere.

Still today I’ve got to have it especially after I eat something that is highly seasoned or after onions. And I have to have some daily no matter what form it takes. Ketchup, bread, barbecue sauce, peanut butter, butter spreads, mayonnaise, orange juice, baked beans, maple syrup, bagels, yogurt, cereal; all processed food has sugar in it.

The average American eats 22 teaspoons of added sugar per day according to the American Heart Association. Be careful and read the nutrition facts label when choosing carbonated beverages, flavored milk, and sports drinks.

Here is how you can find sugar in what you eat. Names such as corn syrup, rice syrup, fructose, sucrose, maltose, dextrose, raw sugar, cane sugar, brown sugar, confectionery sugar are all the bad stuff that could lead to diabetes.

What does diabetes have to do with heart disease? Diabetes is the strongest risk factor known for heart disease. High glucose (blood sugar) is a key component in the biology that causes hardening of the arteries, or atherosclerosis, which is the main driver of heart attack and stroke. In the cardiology clinic, diabetes is referred to as the number one “silent killer” — even more so than high blood pressure. Half of all heart attacks occur in people who didn’t have any symptoms or warning signs. This is why it’s important to get your blood glucose level checked periodically.
Odisha’s image to change, 12 new industries to be set up
By: Techno Odisha
Tags: Industries, Bulu Pradhan, Techno, Techno Odisha

On the one hand, the industrial infrastructure of Odisha is in crisis, and on the other hand, the state has set up 12 new industries in the state. With the establishment of 12 new industries in the state at present, the image of Odisha is expected to change.

According to Industries Minister Dibyash Mishra, the land has been acquired by Idoko in 6 districts of the state for the 12 new industries. In Khordha, Bhadrak, Jagatsinghpur, Rayagada, Anugol, Jajpur, Jharsuguda, and Sundergarh districts, the land has been allotted for the establishment of these 12 industries.

In Khordha, 851 acres of land have been acquired for three new industries, of which 684 acres have been acquired from 10 villages in Jatani alone for Infovali, while 120 acres have been acquired for Seafood Park in Deras area.

On the other hand, Bhandari Pokhari in Bhadrak district, Baonarpal in Anugol district, Kujang and Jagatsinghpur Sadar in Jagatsinghpur district, Kuanramunda in Sundergarh district, Kolabira in Jharsuguda district, and Burujuguda and Gunupur in Rayagada district are among the 12 districts. Gave.
Government Support at Center of Booming Electric Truck Demand in U.S.
By: Punit Shah
Tags: USA, Industry, Automotive, Business, Electric Truck

Since the U.S.’s withdrawal from the Paris Climate Agreement, 23 states and Washington D.C. have pledged to reduce the emission of greenhouse gases (GHGs) by 28% from the levels registered in 2005, by 2025. The U.S. is the second-largest GHG emitter in the world after China, and in the country, the transportation sector is responsible for at least 14% of those. This is why a strong need has been felt here to make the transportation system cleaner, for which financial incentives, subsidies, and other benefits are being offered to the buyers of electric vehicles at the federal and state levels.

This, says P&S Intelligence, will prove significant in pushing the U.S. electric truck market from $211.5 million in 2019 to $15,084.3 million by 2030, at an explosive 51.6% CAGR during 2020–2030. Since trucks and buses are larger and have more-powerful engines than cars and two-wheelers, they release higher amounts of GHGs, which is why it is necessary to strongly focus on replacing diesel trucks and buses with electric and other alternative-energy variants.

Presently, the most-productive state in the U.S. electric truck market is California, owing to the strong government support, which is encouraging companies, as well as individuals, to shun their diesel trucks in favor of electric variants. For instance, under the Advance Clean Truck Rule implemented by the California Air Resources Board (CARB) In June 2020, all new trucks being sold in the state from 2045 onward must be propelled by electricity.

Thus, on account of the increasing awareness regarding the role of electric transportation in reducing the GHG emissions and the decreasing prices of batteries, the adoption of electric trucks is set to rise in the U.S.

Source: P&S Intelligence
Understanding and Implementing ISO 9001:2015
By: Vadhila Refi
Tags: Iso9001 2015, Quality Management, Industry, Quality Assurance

Hello, welcome to my account! Happy Reading and feel free to give me some feedback.
How is Money Created in the Modern Economy?
Tags: Industry, Bussiness, Money, Banks, Economy

Explaining how money is created is the most interesting and the most complex part for a reason, what is explained in most college textbooks and what is transmitted in the media day by day is also wrong. You read well, what is taught in the university and what they tell you on the news and the newspaper is incorrect.

The two misconceptions that kill us

There are two preconceptions about creating money that are wrong:

That banks act as simple intermediaries, between savers and those who demand credit The Central Banks are the ones that determine the amount of money in circulation

The vast majority of money in circulation, more than 95%, is made up of bank deposits. In the first case, we are taught and we think that the money that is lent comes from savings in the form of deposits from companies and families. This simplistic idea ignores that in the modern economy commercial banks are the ones that create the money, the ones that create the majority of that 100% of the money in circulation.

The moment they grant a loan, they are creating a deposit, money. Since this money is not transferred, it is a debt in private hands. It is just the opposite sequence to what academic textbooks describe. Yes, the ones from the university. In the second case, we are convinced that the amount of credit that flows in the market is determined by the Central Bank through the amounts of money that it issues to commercial banks.

Nothing is further from reality, since the money issued by the Central Banks is what the commercial banks demand, the only thing that the Central Bank decides is the interest rate and depending on this the commercial banks decide how much to put on the market in depending on market interest rates, the final demand for loans and the profit they can get.

In textbooks we are told that there is a “money multiplier” and that based on this, the monetary policies of the Central Bank are established, which is the one that controls money in circulation.

Again, a descriptive sequence opposite to the real one, since the amount placed in the market is what commercial banks demand based on what I have described; interest rate, final demand and benefit / risk.

Ultimately, the reserves issued by the Central Bank are established based on the deposits that commercial banks want to create based on their profit expectations. Remember that the counterpart of the Central Bank reserves loaned to a commercial bank are bank deposits.
Pressemitteilung: senseering tritt GAIA-X als Day1 Member bei
By: Daniel Trauth
Tags: Industry, Blockchain, Manufacturing, Mydataeconomy, Gaiax

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
A Série “Industry”
Tags: HBO, Industry, Drama Britânico, Medium Brasil, Tràiler

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Job readiness is same as creating new brand
By: Shreya Tripathi
Tags: Industry, Jobs, Fresher Jobs In India, Skills, Creativity

The skills which are needed to be job ready is similar to the various attributes you keep in mind while creating new brand. These skills includes, communication, positive attitude, problem solving and decision making.

The term how to sell yourself includes various things. Firstly start thinking of yourself as a brand, the brand known for its uniqueness and advantage that provides to its customer, and here your skills act as an advantage for the company. Every brand has its own story, and it has some learning curve. Similarly, your projects and your experience will speak a story for yourself. The brand makes its position in the market when its well communicated to its customers, and likewise, your communication and presentation should be articulate well to the recruiters.

It is easy to recognize the problem but providing a solution is also matters. The new brand face problem at the initial stage like trust among its customer while in case of the job seekers, they should have the problem solver in nature and positive attitude toward the problem. Risk is an integral part of success, and if you are good with taking the risk and ready to make a decision, then you are good to go to sell yourself to an organization.
ՌԱԶՄԱԿԱՆ ԱՐԴՅՈՒՆԱԲԵՐՈՒԹՅՈՒՆԸ ՀԱՅԱՍՏԱՆՈՒՄ
By: Nune Matevosyan
Tags: Armenia, Industry, War, Business, Military

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Event-driven data load from S3 to DynamoDB using AWS Lambda
By: Srihari Bhupathiraju
Tags: AWS, AWS Lambda, Event Driven Systems, Dynamodb

Event-driven data load from S3 to DynamoDB using AWS Lambda

This document details the technical aspects of how event-driven data pipelines can be built on AWS using services S3, DynamoDB, SNS, and Lambda to load data from S3 files to DynamoDB.

Architecture:

Lambda:

I used Lambda to implement the core data transformation/parsing as I don’t have to worry about provisioning any compute resources to execute my code and I get to pay only for the compute time alone. Using Boto3 simplified connecting to different AWS services and using different API’s.

Lambda code in Python

S3 configurations:

Create an s3 bucket: I named my s3 bucket filedump2020.

Create an event notification: In the properties tab of S3 bucket, create an event notification and set the destination to Lambda function.

S3 event notification

The above configuration will enable the lambda to be triggered every time an object is placed in the S3 bucket.

DynamoDB configurations:

Create DynamoDB table: I created a simple DynamoDB table with default configurations. I used serial_number field as the Primary key for the table.

SNS configurations:

Create an SNS topic with an Email subscription. My topic name is ETL_notification and subscribed to my email address.

SNS Setup

IAM permissions:

It is important to give the correct access, so the services can communicate with each other and do the intended actions. I have set up the below shown access and attached it to the lambda function.

IAM permissions

Data load to DynamoDB table:

With the above setup configured, when an object is uploaded to the S3 bucket, lambda is triggered using the event notification, and data is loaded to DynamoDB along with sending out the notifications to via SNS.

DynamoDB data

I hope this document provides insights into setting up the event-driven data pipelines using S3, SNS, Lambda, and DynamoDB. Please provide your valuable suggestions/feedback.
Calling RESTful APIs from inline AWS Lambda functions
By: Lev Himmelfarb
Tags: Nodejs, AWS Lambda, Aws Sdk

Sometimes we need to make calls to some remote HTTP-based API from an AWS Lamda function. Let’s say our runtime is Node.js. On the surface, there seem to be two natural ways to do it:

Use Node.js low-level HTTP module’s client functionality.

The problem with this approach is that Node’s low-level HTTP API is cumbersome to use, especially when sending and receiving request/response payloads is involved. You have to read the chunks, assemble the buffers, parse and encode stuff, react to events, etc.

Use a 3rd party utility module, such as Got or the Fetch implementation (or the deprecated Request module for those who still work with the old stuff).

This is a very much valid solution, except it means that you have to include dependencies with your Lambda function, that is build the AWS Lambda deployment package zip, upload it to S3, etc. What if we are dealing with a tiny Lambda function and for various reasons we would prefer it to be an inline function without building and uploading any packages?

There is one other solution and we are going to demonstrate it in this post.

Use AWS SDK to call remote services.

We know that the runtime environment for AWS Lambda always includes the AWS SDK module and since many of the AWS services expose this or that kind of HTTP-based APIs, the module includes everything we’d need to make high-level HTTP calls to anything, not necessarily an AWS service. The only problem is that this foundational part of the AWS SDK is not very well documented. Luckily, it’s all TypeScript/JavaScript and we have access to all the sources. A little bit of digging around and you can see how it includes a lot of very high-level while generic functionality.

To be able to call our own RESTful API we need to define it as a “service”. Then, we define our API endpoints on the service as “operations”. After that we can call those operations on our service as methods, just like any authentic AWS service client provided in the SDK.

Here is an example:

There is a ton of more very useful functionality in the AWS SDK module that is not shown in the example above. You can start learning it from looking at the sources in the aws-sdk module ( lib/protocol/rest_json.js , lib/model/shape.js , lib/service.js and others). It is quite easy to understand (and the TypeScript definitions are helpful too). It’s pretty logical and after a short while you will no longer need to look into the source code that often.

This makes AWS SDK my HTTP client library of choice for AWS Lambda functions, especially those that are not part of a larger package!
AWS Lambda Now Supports Container Images
By: Michael Chi
Tags: AWS, Docker, AWS Lambda, Software Development, Programming

Creating a Lambda Container

Here, I have a basic Lambda function named lambda.js with the dependency file package.json :

lambda.js

package.json

The Lambda itself just has a simple console log outputting a string and the payload. But in the real world, you’d have more complicated code here and more dependencies in package.json .

To create the image, we have a Dockerfile:

The first line is pulling the base image provided by AWS. We want to use the node:12 runtime to run the Lambda. There are other base images you can use and they are all hosted in Docker Hub or the ECR Public Gallery.

Then, we copy over package.json and lambda.js to the container and run npm install . This will install all the dependencies the Lambda needs.

Line 5 will then set the command of the image to the function handler. This can be overridden as a parameter when configuring the function. To bring up this container, create another docker-compose.yaml file in the same directory:

This file builds a Lambda service with the Dockerfile we just created, and it will expose port 9000 for our usage. Running docker-compose up --build will now build the image and spin up a container for local development.

To trigger this function, you can use the Lambda Runtime API by sending an HTTP post request to: http://localhost:9000/2015-03-31/functions/function/invocations with any JSON payload. You should see that your Lambda function is triggered and you can see log output.

You can now start using this Lambda in your other services and test it locally.
AWS Lambda with custom docker images as runtime
By: Philipp Schmid
Tags: Cloud, AWS, Serverless, Docker, AWS Lambda

Originally published at https://www.philschmid.de on December 2, 2020.

Introduction

It’s the most wonderful time of the year. Of course, I’m not talking about Christmas but re:Invent. It is re:Invent time. Due to the current situation in the world, re:Invent does not take place like every year in Las Vegas but is entirely virtual and for free. This means that it is possible for everyone to attend. In addition to this, this year it lasts 3 weeks from 30.11.2020 to 18.12.2020. If you haven´t already registered do it here.

In the opening keynote, Andy Jassy presented the AWS Lambda Container Support, which allows you to use custom container (docker) images as a runtime for AWS Lambda. With that, we can build runtimes larger than the previous 250 MB limit, be it for “State-of-the-Art” NLP APIs with BERT or complex processing.

Furthermore, you can now configure AWS Lambda functions with up to 10 GB of Memory and 6 vCPUs.

In their blog post, Amazon explains how to use containers as a runtime for AWS lambda via the console.
File processing with Apache Camel & AWS services
By: Rakesh Ravlekar
Tags: AWS, AWS Lambda, Apache Camel, File Processing, Java

In general ECS is a good choice to make a containerized application and run it on an EC2 cluster, you can refer to the AWS documentation link . ECS launches your containers in your own Amazon VPC, allowing you to use your VPC security groups and network ACLs. No compute resources are shared with other customers. You can also assign granular access permissions for each of your containers using IAM to restrict access to each service and what resources a container can access.

Amazon EC2 offers the broadest and deepest compute platform with choice of processor, storage, networking, operating system, and purchase model.

It was decided to go with the EC2 approach, as the client team preferred to have control over configuration of EC2 for security reasons and EC2 pricing model is more cost effective. This article perfectly describes the difference between them link.

But the next question was, how do we run these ECS tasks? And here comes AWS Lambda with S3 notification event.

AWS Lambda is an event-driven, server-less computing platform provided by Amazon as a part of Amazon Web Services. It is a computing service that runs code in response to events and automatically manages the computing resources required by that code. Lambda has a span of max 15 mins of execution time and as it is server-less we pay only for the execution time, and based on the number of requests, memory allocated to lambda function.

For storing files the obvious choice was Amazon Simple Storage Service — S3. It is an object storage service that offers industry-leading scalability, data availability, security, and performance. It also supports versioning and offers various storage classes based on the business need. Check the detail here

The Amazon S3 notification feature enables you to receive notifications when certain events happen in your bucket. To enable notifications, you must first add a notification configuration that identifies the events you want Amazon S3 to publish and the destinations where you want Amazon S3 to send the notifications.

This was what we needed so instead of pooling and waiting for file arrival, we used ‘New object created S3 events’ so as soon as the file arrives on S3 bucket, it triggers lambda function ( We used Java code but it can be written in python or other languages supported by AWS) which in turn runs the ECS task asynchronously.

Hope below diagram explains the final end to end flow clearly.

For email notifications we are planning to use AWS Simple email service which is a cost-effective, flexible, and scalable email service that enables developers to send mail from within any application.
2020年の振り返りとグローバルチームのプロジェクトの話
By: Takuma Morikawa
Tags: Security, Development, AWS Lambda, v0.25.0でかなり破壊的な変更

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
What is lambda?
By: Hae Joon Lee
Tags: AWS Lambda

in The New York Times
AWS SAM ile Dockerized AWS Lambda Fonksiyonları Geliştirme
By: Azmi Mengü
Tags: Docker, Aws Sam, Aws Ecr, AWS Lambda, Amazon Web Services

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.
Thanks Adrian for summing it all up, Its amazing to see so many substantial laubches in a short period of time.
By: Abdul Salam
Tags: AWS, AWS Lambda

Thanks Adrian for summing it all up, Its amazing to see so many substantial laubches in a short period of time.
Warming your lambda functions using the AWS CDK
By: Louis Q
Tags: AWS, AWS Lambda, Cdk

The AWS CDK is an awesome tool for describing your infrastructure.

In a language of your choice, TypeScript is my own, you can define and deploy your stack. For example:

and then simply run:

cdk deploy

to send it out the door.

Recentlyish’ AWS added provisioned concurrency where you can ensure a certain number of instances of your functions are available between certain times. This great and can be done like so:

Another approach is polling the lambda. In days gone by I’ve used the Serverless framework which has a warmup plugin you can use. I wondered how I could do this with the CDK. Well here’s how:

This will ensure you don’t invoke your business logic but keep costs low and keep everything nice and toasty.
Demystifying Java AWS Lambda handlers for API Gateway
By: George Mao
Tags: AWS, AWS Lambda, Api Gateway

I recently did a deep dive into writing Java based AWS Lambda functions for Amazon API Gateway payloads. Special thanks to Heeki Park for helping figure this out! Check out his Medium for awesome AWS tips. Here’s the things you should know and will save you time and headache:

You have two options for writing handlers written in Java. The related AWS docs are here. I found it really confusing so I’ll try to summarize. First, your class should implement one of these two interfaces:

[Option 1] com.amazonaws.services.lambda.runtime.RequestHandler

[Option 2] com.amazonaws.services.lambda.runtime.RequestStreamHandler

Option 1: RequestHandler

This is the simplest way to write your function. With this option, your handler class should implement RequestHandler and your handler method should have two parameters: the event and the context . For the event, use any POJO, Custom class, or an AWS provided class from the events library. The type for the event should match the input you expect your Lambda function to receive. It could be a string, JSON payload, integer/number, or Base64 encoded string.

API Gateway will always deliver a JSON payload to your function. This means you should use either a custom object or one of the provided classes from the events library.

If you are using REST APIs you should use the APIGatewayProxyRequestEvent type. This class is written to allow JSON in Payload Format 1.0 to serialize into the object. If you are using HTTP APIs you can choose the payload format to deliver to the Lambda function, either Payload 1.0 (legacy) or the newer 2.0 format. If you choose 2.0, you should use the APIGatewayV2HTTPEvent class. If you choose 1.0 then you should use APIGatewayProxyRequestEvent.

The class and method signatures should look like this for a Payload 2.0 configuration:

public class LambdaFunctionRequestHandler implements RequestHandler<APIGatewayV2HTTPEvent, APIGatewayV2HTTPResponse> public APIGatewayV2HTTPResponse handleRequest(APIGatewayV2HTTPEvent event, Context context)

Here’s a full example from my Github project:

Option 2: RequestStreamHandler

This option is a bit more complex — you have to programmatically parse the input as a stream and write a response to a different stream. With this option, your handler class should implement RequestStreamHandler and your method should have 3 parameters: an InputStream, an OutputStream, and the context. The class signature should look like this:

public class LambdaFunctionStreamHandler implements RequestStreamHandler public void handleRequest(InputStream input, OutputStream output, Context context)

Here’s a full working example from my Github that has both options for writing RequestHandlers.

Note you’ll need a few dependencies defined in your Maven POM file. These are:

com.google.code.gson

aws-lambda-java-events

aws-lambda-java-core

All available libraries for Lambda are documented here:
How to connect AWS SAM local lambda to DynamoDB local
Tags: AWS, AWS Lambda, Software Development, Dynamodb Local, Dynamodb

How to connect AWS SAM local lambda to DynamoDB local Pariyawit ·Dec 16, 2020

You need to set endpoint as “http://host.docker.internal:8000" because AWS SAM is running on docker but DynamoDB is running on localhost:8000.

If you put only “localhost:8000” then SAM will connect to localhost of the container whereas “host.docker.internal” will connect to localhost of the host

NodeJS example

import { DynamoDB } from 'aws-sdk'; const docClient = process.env.AWS_SAM_LOCAL == 'true' ? new DynamoDB.DocumentClient({ endpoint: 'http://host.docker.internal:8000', }) : new DynamoDB.DocumentClient();

AWS_SAM_LOCAL is an environment variable. It is true when SAM is running locally.
Vertical Auto Scaling AWS EC2 instances. Slack integrations.
By: Sergey Kuyanov
Tags: Nodejs, DevOps, Cloud Computing, AWS Lambda, Autoscaling

The title of the article speaks for itself :)

Although it is not the best practice, sometimes it can be a situation when we need to use this option of scaling, and it happened to me. Some details need to be clarified right away:

1. AWS is working to create such a service.

Here you can see the second possible implementation option, which is a little more difficult to implement. But it didn’t suit us.

2. Using my version, the downtime is one and a half minutes. It is the time from the beginning of the cycle to the complete lifting of all services.

If it does not suit you then use the standard horizontal auto-scaling.

And while you are thinking, I will begin. In this case, we will use the following AWS services:

AWS EC2 IAM AWS Lambda AWS SNS CloudWatch

If it is new for you, do not be sad, I will try to describe everything accurately and in details. Since you are interested in this article, I suppose you can create and manage EC2 instances, if not, then read this article.

I will be using Amazon Linux 2.

So, let’s begin.
Data Wrangling in the Cloud — AWS Workflow for Data Science & Machine Learning
By: Kelly, Scott
Tags: Tensor, AWS Lambda, Topic Modeling, Aws Emr, Aws Dynamodb

tl;dr; We are going to construct a complete cloud based data pipeline. We will upload 8GB of text data to an S3 storage bucket. Followed by provisioning a 5 node Pyspark cluster using AWS EMR to process the text in a format required by my NLP project. From the cluster we will write partitions of the data back to S3 which will then automatically trigger Severless Lambda Functions to transform the data to a specific schema and write it to AWS’ distributed NoSQL solution, DynamoDB.

Quite often in my Master’s program at Georgia Tech (and for work), I come across a set of data that I’m prototyping with that is technically small enough to deal with on my personal computer. Yet it is large enough that processing and storing it on a single compute instance nearly maxes everything out. This causes substantial bottlenecks and slows me down. You can think of something in the orders of 3–10gb range. I’m sure none of us just have a distributed compute cluster at home to use whenever we want. So situations like this are why it can be extremely beneficial to know how to work in the Cloud.

In this series, I’m going to walk you through a cloud based data pipeline that loads, preprocesses and stores data using AWS. The entire process costs pennies, and reduced a processing step I needed to do for one of my projects from dozens of hours to just a few minutes.
AWS: Installing AWS SAM CLI on MacOS M1
By: Rahil Khan
Tags: AWS, AWS Lambda, Aws Sam

After you have installed that workhorse called aws cli there is this AWS SAM CLI command line tool that layers on top of AWS CLI that gives us some pretty useful extra tools in working with the AWS development, deployment and/or interfacing with the maze of setup/config of AWS services such as Lambda, etc..

Find out more at

However, if you have moved on to one of the M1 (Silicon chip) line of new Mac’s (MacBook Air/Pro/Mini M1) then you might hit a snag if you are trying to install the sam cli tool in question. The error that you get is fairly cryptic. At the long end of the stack trace you are staring at:

The culprit behind this cryptic error lies in the fact that the brew install aws-cam-cli command that you ran as part of the steps shown in the “Installing the AWS SAM CLI on macOS” article above, while fetching and building some of the dependencies for this setup, gets the “bottles” needed to make it in your environment. If you scroll all the way up the stack trace, you will be able to see a recommendation alluding to running xcode-select — install.

Of course I had xcode dev tool installed already. But the above xcode command line tool is not necessarily part of the main xcode install. So you need to run the above command. This step, of course, is NOT listed (not yet updated or the error may not have been reported yet- who knows?) I came across this issue only on M1. I have not seen it on my intel based MacBook Pro. A search on the internet including stack overflow, yielded no hits specific to this missing piece.

Solution: Run

xcode-select — install

before you run

brew install aws-sam-cli

and that should fix the error!