000webhost

Web hosting

Monday, July 29, 2019

Offline Cloud (AWS, GCP, Azure, etc...) Simulators/Emulators, Random Stuff, and More

- sometimes you don't have Internet access so the best you can do is setup emulators. I didn't realise until relatively recently that there are emulators for many cloud services out there such as AWS, GCP, Azure, etc... In this post we'll look at some of the options out there (these notes are from a long while back/maybe even years? so if they're not entirely up to date please excuse me)
- if you don't already know there are some cloud services that offer you the chance to use their services free (emulated services as well as real services) without having to register details of your personal credit card. Not surprisingly most services out there aren't that much different from one another
ibm cloud
rackspace free "no credit card"
free public cloud "no credit card"
- the obvious benefit of emulators are offline development and complete control over your environment. System requirements generally require/recommened 64-bit platforms, Debian/Redhat based software distributions, 4GB RAM, etc... 
localstack alternative to
- Localstack and Eucalyptus are the main ones everyone will be interested in if you want to explore AWS emulators/simulators
sudo pip install --download downloads localstack
aws emulator
aws simulator
localstack download
localstack demo
sudo pip install boto3
sudo pip install PySocks
sudo pip install flask_cors
eucalyptus debian
eucalyptus github
- you may need to use my nodep.sh script to 'clean packages up' a little bit. Note that there are a lot of broken links for the Azure emulator/simulator
offline azure emulator
azure simulator
- GCP is emulated as well
gcp emulator
google cloud emulator
- since the emulators seek to copy functionality you can often get away with looking up the original documentation if you're having problems. Ironically, one of the reasons why you would do this is because of lack of help/volunteers downstream in emulator software development
- if you didn't already know many of these software stacks have their own problems. There are lots of options to check for obvious problems now though so that you can mitigate much risk
search s3 buckets
open s3 bucket
find open s3 buckets
https://s3tools.org/s3cmd
finding open s3 buckets for an organisation
shodan alternative to
aws flaw checker
azure flaw checker
- I obviously tried localstack as well. Below are some of the errors and debug systems
sudo pip install moto
----
local install from whl files python
----
sudo pip install --upgrade localstack
2018-10-09T03:57:32:ERROR:localstack.services.generic_proxy: Error forwarding request: HTTPConnectionPool(host='127.0.0.1', port=4564): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Traceback (most recent call last):
----
DEBUG=1 localstack start
----
Error: Unable to access jarfile /usr/local/lib/python2.7/dist-packages/localstack/infra/elasticmq/elasticmq-server.jar
----
https://s3.ap-south-1.amazonaws.com/dynamodb-local-mumbai/dynamodb_local_latest.zip
user@system:/usr/local/lib/python2.7/dist-packages/localstack/infra/dynamodb$ ls
DynamoDBLocal.jar
unzip dynamodb_local_latest.zip 
sudo cp /media/sda1/SYSTEM/dynamodb_local_latest.zip .
cd /usr/local/lib/python2.7/dist-packages/localstack/infra/dynamodb
- the funny thing with the Open Source versions of stacks is that most employers just don't seem to be interested in them. The obvious irony is that many proprietary stacks often build upon this technology? A closed and open source software divide exists even though it shouldn't?
ubuntu openstack install
free public cloud
- one trend that is interesting for me is compatibility seems to be increasing across the board and solutions seems to be converging in on one another
- there are free qualifications and certifications for many areas in IT if you didn't already know. Sometimes they even have free emulation systems in place. Note, that often for partners of particular companies there are free training courses and labs that they can attend. These run regularly and often when a new product is about to be released 
free amazon aws course site:edu.au
online aws simulator
- after you get things up and running things pretty much work like the real thing. That said if updates happen upstream things will come down the line a fraction later
- I've thought about building my own emulation systems as well as building my own lite software stacks obviously...

Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- latest in science and technology
- latest in finance and politics
- latest in defense and intelligence
- latest in animal news
What’s in the water at the North Carolina Zoo? Yet another baby chimp is on the way
- latest in music and entertainment

Random Quotes:
- "So what I learned the most by working with celebrities and very famous artists is not just be humble but make them feel humbled; take care of them, take care of their people," he said in an episode of Business Insider's podcast "This Is Success."

He gave two hypothetical examples of an interaction, drawn from his own experiences:

"So I ended up in the studio with a great artist. He meets everyone. He says hello to everyone. He says hello to me. We're all cool. We have the greatest sessions ever. Make great music.

"Someone else comes in, he's like, 'Hey, yo ... what's up man? So nice to meet you. So let's get this thing cooking.' Doesn't say hi to my cameraman. Doesn't say hi to my manager, doesn't say hi to my publicist. I'm already like, 'Do I want to be affiliated with a person like this?' But not just me thinking this. Everyone in the room is thinking this."

Afrojack is also the head of his own record label, as well as the CEO of the talent agency LDH Europe, and he said that he would much rather work with someone he respects and get a moderate return on a project than work with an egotistical and selfish partner and get a massive r eturn. The former is more sustainable.

"So if you look from that perspective, no one's wanting to work with the guy who's an a--hole - or not necessarily be an a--hole, but has the ego, or thinks he has to live up to certain expectations," he said.

In show business, Afrojack noted, it can be easy to not recognise the power brokers behind the celebrities, and people starting at the bottom can end up on top the next day, but that shouldn't be the primary reason you treat a powerful person's team members with respect. For Afrojack, becoming egotistical is the first step to destroying your success, leading to foolish decisions and tarnished relationships.

"So don't just be nice to the people that 'matter,'" he said.
- “There are a lot of misconceptions about my life,” said Eisler, who believes he has achieved the “fame” without the “fortune”.

“The main one being that it is lucrative and that I make a lot of money. The truth is, if I were to stop travelling, I would need a second job to make this work.”

Life on the road can be exciting and lonely at the same time, and Eisler knows that only too well.

“It’s kind of a gift and a curse. I would really love to have a home, a girl, a routine and all of those regular things, but I feel the opportunities I have are too valuable to pass up. All those other things will come when they come. I’m in no rush.”

Eisler believes he has learnt more about life in the last few years being on the road than he did in his seven years of formal education. The simple life has taught him how to “make the most out of the least” and put up with various types of people.

So, if you think you’re ready to leave it all behind and live a life of adventure, Eisler has some sound advice.

“For people who want to travel like I do, the main thing is to get a mobile job. Learn web design or something you can do on a laptop from anywhere. For me, this is part blading, part video work.

“Once you can work from anywhere, the next part of the equation is replacing your rent and car payments with plane tickets.

“The world is not as scary or as dangerous as you would be led to believe.”
- CAPE TOWN - In its research of wealthy families across the world, including South Africa, Stonehage Fleming has found that there are four aspects to being wealthy:
1. Financial capital: The family’s tangible assets and intellectual property that have quantifiable financial value.
2. Cultural capital: That which brings a family together by identifying shared perspectives and themes including their approach to business, treatment of others, contribution to society, attitude to wealth and values.
3. Intellectual capital: A family’s accumulated skill, knowledge, experience and wisdom.
4. Social capital: The way in which a family relates to and engages with society and the communities in which it lives and operates.

Response to change

Stonehage Fleming’s latest report, “Four Pillars of Capital: The Next Chapter”, surveyed about 150 multigenerational families across the world. It highlights the issues facing wealthy families today and how they are responding. These include:

* Rate of change. The rate of technological, social and political change is probably greater today than it has been for any generation in living memory, the report says, and the gulf in perceptions and values between the generations “is significantly greater than in the past, which has an impact on long-term planning objectives”.
* Relationships among generations. “Intergenerational relationships are often less hierarchical than before, facilitating the discussion and resolution of any issues,” the report says.
* Leadership and succession planning. The report says traditional means of succession planning, such as the principle of primogeniture (the right of succession belonging to the first-born child) are being challenged. Although some families favour traditional approaches to passing on their legacy, “it seems likely that more sophisticated governance and communications will become the norm

Families are concerned about having leaders in place who will see the family through the uncertainties of a changing environment”.
* Risk management. The report says many families realise that it is of little use investing resources in managing the financial risks to their assets, while neglecting the management of non-financial risks, such as inter-family conflict.

Commenting on the report, Matthew Fleming, the global partner and head of family governance and succession, says families are also more aware of the political risks that accompany inequality in society, and as such look to use their wealth to good purpose (see below).
* Contribution to the community and reputation. There appears to be a greater desire to make a positive contribution to the community. There is also recognition of increasing risks to reputation, particularly from social media.
* Socially responsible investing. “Most families surveyed - particularly the younger generation - expressed a view that investments should be more socially responsible. Defining this strategy is a key component of effective family leadership for the 21st century,” the report says. It says 51% of respondents said they actively undertook investments that were in keeping with their values.
* Asset classes. Real estate remains the favoured asset class, the report says, with listed equities close behind. “Private equity remains popular, and there has been a significant increase in those prepared to consider alternative investments There was a notably limited interest in cryptocurrency,” the report says.
- Olivia:
So why is this book your favorite book?
Peter:
Because it talks about not depending on other people for answers. You can only find the answers inside yourself. Which given our current situation, it's kinda of amusing, if you think about it.
- Sachin Tendulkar is not short of a coin these days but, according to Indian commentator Harsha Bhogle, had a novel way of making a buck as a youngster.

Bhogle told ABC Grandstand a story of how Tendulkar's batting coach, Ramakant Achrekar, used to put a one rupee coin on the budding star's stump and told him if someone was to bowl him they could keep it. If it stayed, then the coin would be Tendulkar's.

"He had a bag full of coins," Bhogle said.
Sachin Tendulkar is not short of a coin these days but, according to Indian commentator Harsha Bhogle, had a novel way of making a buck as a youngster.

Bhogle told ABC Grandstand a story of how Tendulkar's batting coach, Ramakant Achrekar, used to put a one rupee coin on the budding star's stump and told him if someone was to bowl him they could keep it. If it stayed, then the coin would be Tendulkar's.

"He had a bag full of coins," Bhogle said.
- Then, in 2017, Reuters reported Mr Putin as saying he wanted his grandchildren to have a normal childhood.

“My daughters are involved in science and in education. They don’t interfere in anything, including politics. They live normally,” he said.

“The thing is I don’t want them to grow up like princes,” he said of his grandchildren.

Vladimir Putin and his ex-wife Lyudmila pictured in 2006. The couple divorced in 2013 after 29 years of marriage. Picture: www.g8russia.ru via Getty Images
Vladimir Putin and his ex-wife Lyudmila pictured in 2006. The couple divorced in 2013 after 29 years of marriage. Picture: www.g8russia.ru via Getty ImagesSource:Getty Images

“I want them to be normal people. And for that they need ordinary, normal communication with other children.

“They would be immediately identified and not left in peace. It would damage the children’s development. I ask you to understand me and to treat this position with understanding.”
- The government spends more money on pensions and aged payments than any other type of welfare. More than $70.2 billion will go to aged welfare payments in the next financial year.

That's an increase of four per cent, or $2.7 billion. The bulk of that money will go towards income support for seniors and aged care services.

Just over $47 billion will go towards the disability support pension, NDIS and carer payments.

Currently, over 750,000 Australians receive the disability support pension. Most are aged 35 to 54.

Assistance to families - which covers Family Tax benefits, parenting payment, childcare subsidies and paid parental leave - comes in at $37.4 billion.

About 2.5 million people currently receive some form of Family Tax Benefit.

Income support for the unemployed and the sick makes up $10.8 billion of the welfare budget, an increase of $358 million from 2018-19.

Welfare payments to Indigenous Australians make up $2.3 billion, a decrease of $19 million from 2018-19.

The rest of the welfare budget will go toward helping veterans, other welfare programs and general admin.

Market Consolidation/Neo-Feudalism, Random Stuff, and More

- it never occured to me until recently how consolidated things in the world were in the global market place. In this post we'll take a ...