Friday, December 1, 2023

Gyani Pillala ( Free Software /Open Source )


“Happiness keeps us sweet,
Trails keep you strong,
Sorrow keeps you Human,
Failure keeps you humble and
Success keeps you glowing, but only
Faith & Attitude keeps you going  “


Technology Evangelist and  enthusiastic IT person, with a passion towards Datacenter technologies. I am working as a Cloud Technology Consultant. I have a very rich and diversified experience in Datacenter Product Development , Automation and Integration. Currently working on Carrier Grade Cloud Deployments - Helion Carrier Grade Cloud and Redhat Enterprise Linux Openstack Platfrom.

Great Exposure on Large Cloud Deployment - DataCenter Network Topology , Data/Management Plane Switches, High End Storage Subsystems, Storage Bench Marking , Data center Product Development.

Experiences in Challenging Enterprise Environment and complicated Network Architecture and Service Layer Intergration (Multiple Tier-4 Data Centers)
Experienced with all Gnu/Linux Based servers includes Debian, Redhat, Centos, Ubuntu, Sun Solaris, FreeBsd, Storage Boxes, Highly Redundant Servers, BareMetal Hypervisor (VMware ESXi/KVM), Storage components (iSCSI nfs filers), Compute Nodes and Redundant Management Cluster Servers. Involved in architecture virtualization environment engineering designs

Experience with Data Center automation Layers and service layer integration with scripting languages (python,perl,bash,nsh). Implementing strong automation between systems and applications, exposed to complete integration testing of Infrastructure Related Data Center Products

Loved to work with open-source technologies and free software that led me to Work on Clusters,Grids,Private/Public Clouds Infrastructure, Virtualization Hypervisors (Esxi/KVM/XEN)
Experienced with High End, Highly Redundant/Scalable/Available Storage Boxes SAN,IBM DAS,NAS, ZFS pools... Skilled on Cluster/Grid Computing on various Technologies; High available Cluster Databases... Tcp/IP Networking and Unix/Linux security...

Area of Interest: Data Center Automation with Scripting, Openstack Carrier Grade Cloud,  Scripting, Redundant Storage Pools, Passionate to work on Core Issues and figure out the Root Cause, Cluster FileSystems, Redundant Storage Pools, Cloud Engines(Open Nebula http://opennebula.org/, Eucalyptus,XCAT 2(Extreme Cloud Administration ToolKit) http://xcat.sourceforge.net/, MOAB ( http://www.adaptive.com/ ), Torque , EFS (Enterprise FileSystem http://openefs.org/ ) , BMC BladeLogic (http://bmc.com) Forensic/penetration tools, Rootkits Linux/Unix, Network Security

Passionate in Data Center Automation/Product Automation/Systems Automation (Python, Perl  Shell) and Compiling the Source codes to Custom Packages DEBs for Debian Family, RPM for Redhat and PKG for Solaris Family and Bench Marking the CPU Performance and Storage Performance.

Personal Aspect
Interested in making Friends, Attending Conferences on latest technologies, Debate on Different Emerging Technologies, Going to new places, Adventures Trips, Writing Blogs, Enjoy Watching Documentaries, knowledge sharing , giving helping hand to needy !! - NOT to miss " WORK OUT "

Professional Training (E-Learning )
Would be interested to share my technical Expertise in Various Technologies like Cloud Computing, Various Cluster Environments, Grid Computing, Automation, Bash Scripting, Python Scripting, Gnu-Linux/Unix Services soon...

Through Skype or TeamViewer etc
Just Drop me a mail will revert back

Part of Conferences:-
     - Invited as a Guest Speaker in National Level Foss Conference (http://foss.amrita.ac.in/)
     - Participated 2nd International Conference on Freedom in Computing, Development and Culture (http://fsfs.in/)
     - Participated in International Conference on Cloud Computing, Smart Grid and Green IT (http://amrita.edu/)
     - Cloud Computing Summit 2010 , Hyderabad India
     - Ubuntu Developer Day (http://www.ubuntu.com/ubuntudeveloperday)



Interested to reach me @:
Twitter to: http://twitter.com/gyanip
Facebook to: http://www.facebook.com/people/Pillala-Gyani/706739241
Linkedin to: http://in.linkedin.com/in/pillalagyani
Google to: http://www.google.com/profiles/gyani.touch
Email to: gyani.pillala@gmail.com


 My Resume : Gyani_Pillala (Download- yet to post)

Thank you for visiting my Blog!!!  

Feel Free to Comment on my Blog !!



Thursday, November 30, 2023

H1B VISA CHECKLIST 2023

 Here are the following documents needed for H1B VISA Checklist 


NOTE: Make sure Passport photos are very recent with white background, ears visible to avoid retake and delays 




Wednesday, November 29, 2023

5 Critical Leadership Skills

 

5 Critical Leadership Skills You Need For Success


Original Post : https://www.forbes.com/sites/paolacecchi-dimeglio/2023/11/26/5-critical-leadership-skills-you-need-for-success/?sh=29b035ef658e

Personally I liked the above post and well connected on the thoughts and break down.

The notion that leaders are predestined rather than crafted is an enduring myth. Contrary to the belief that leadership prowess is an innate trait, manifesting only in the early bloomers of the world, the reality is that leadership skills can be cultivated. 

Leadership is not a passive journey; it demands an active commitment to nurturing certain competencies that enable one to inspire and guide others. The journey towards becoming a distinguished leader is open to all willing to hone their abilities earnestly.

Emotional intelligence is the silent force behind effective leadership. This nuanced skill intertwines the understanding of personal emotions with the emotional dynamics of others. It's about cultivating an inner awareness that informs external interactions, enabling leaders to navigate the complex interpersonal aspects of the workplace with finesse.


Self-management: Leaders with high emotional intelligence can regulate their emotions, especially in stressful situations. Self-management is about maintaining an even keel, exhibiting patience and restraint when provoked, and displaying a level of composure that reassures and calms others. It also involves being adaptable, maintaining a positive outlook, and staying committed to personal accountability

Social awareness: The ability to accurately pick up on the emotions of others around you and understand the dynamics in play within your organization is essential. Social awareness is about having an empathetic perspective towards others, which allows for compassionate leadership.

Relationship management: This is the outward expression of emotional intelligence, where the other three components are put into action. It's about managing interactions to maintain and build upon relationships within the team. Skills such as effective communication, conflict resolution, and the ability to persuade others come into play here. Leaders with high relationship management skills are adept at inspiring and influencing their teams, fostering a collaborative spirit, and resolving disagreements in a manner that strengthens rather than erodes relationships.

The success of a team is deeply intertwined with the leader's communicative clarity and effectiveness. Leaders are the motivators, the vision-casters who must convey their mission precisely and passionately. A leader must articulate the collective vision with an infectious zeal that inspires action. Effective communication is multifaceted and not monolithic, encompassing a tapestry woven from various threads

Adaptability involves the nuanced art of tailoring one's message to the context and audience. A leader must be a chameleon, altering the tone, language, and formality to suit the setting—whether it's a boardroom discussion, a factory floor pep talk, or a one-on-one with a team member.

Active listening goes beyond mere hearing; it is an active engagement with the speaker. It's about giving full attention, discerning not just the words but the subtext and emotional undertones conveyed through non-verbal cues. This level of attentiveness signals respect and value for the contributors, fostering a more open and honest exchange

Transparency is about peeling back the layers of corporate secrecy to reveal an organization's true state of affairs. It's about sharing the journey—the triumphs and trials—with the team, cultivating a sense of ownership and partnership among all members

Clarity is the ability to demystify the complex. It's the distillation of intricate concepts into a potion simple enough for all to drink and yet potent enough to motivate. Clear communication ensures that everyone is aligned with their roles and tasks, thereby minimizing misunderstandings and maximizing efficiency

Inquisitiveness opens the door to a richer dialogue. It's about probing deeper with questions that prompt reflection and critical thinking. Such a conversational thread yields more substantial insights and encourages a culture of curiosity and continuous learning

Empathy is the capacity to resonate with the team's emotional state and respond in a way that reflects understanding and care. It's about adjusting one's communication to address the concerns and aspirations of individuals, thereby fostering a deeper connection and sense of belonging

Body language is the silent but eloquent partner of verbal communication. It's the unity of gestures, expressions, and posture with spoken words that reinforces the sincerity and intent of the leader's message.

Rather than micromanaging, exceptional leaders empower their teams to excel autonomously - it's about unlocking the potential within each individual-. This empowerment bolsters performance and allows leaders to focus on strategic roles, enhancing overall time management. This empowerment is multifaceted:

Cultivating trust is the bedrock upon which high-performing teams are built. It's about creating a culture where reliability, integrity, and the assumption of good intentions are the norm

Providing candid feedback means offering guidance that is both truthful and constructive, designed to build up rather than tear down.

Exhibiting empathy within a leadership context involves showing genuine concern for the well-being of team members, understanding their challenges, and being responsive to their needs

Encouraging dialogue is about keeping the lines of communication open, allowing ideas and concerns to flow freely in both directions

Being driven by purpose means aligning the day-to-day work with the larger mission of the organization, providing work with meaning and context.

Promoting growth reflects a commitment to the personal and professional development of the team, recognizing that the advancement of individuals contributes to the strength of the whole.

A leader's journey inward is a quest for self-awareness, which acts as a compass in guiding their interactions and decisions. This introspection is not an occasional retreat but a constant practice that informs the leader's emotional landscape and leadership style. It may manifest as:

Approachability which is characterized by a genuine warmth that invites trust and fosters a deep connection with team members.

Credibility where the leader's actions and history of decisions have built a foundation of trustworthiness and reliability.

Aspiration which is the leader's ability to set a high bar and inspire the team to reach for new heights


The business world's tumultuous nature demands leaders' resilience— the ability to weather storms and emerge with new strategies. Disruptions do not daunt resilient leaders; they embrace them as opportunities for growth and learning. Building resilience can involve:

Reflective action means pausing to consider the best course forward rather than reacting impulsively to challenges

Commitment to growth, reflecting a leader's dedication to personal and professional development, which in turn enhances the team's capabilities.

Purpose-driven leadership, where a clear vision remains the beacon, keeps the team focused and motivated even during turbulent times.

Fostering strong support networks, ensuring there is a web of relationships to draw upon when faced with crises, and providing a buffer and additional resources to navigate difficulties


Leadership is an art form that can be mastered with practice and perseverance. By developing these fundamental skills, the path to becoming an influential leader is not reserved for a select few but is a potential for the many.




Monday, October 30, 2023

CCSP ISC2 EXAM - Golden path

 Golden path - The below mindmap enables you in better way for the CCSP Exam. Please ensure, conceptually you are clear on all the below topics. 




Sunday, October 29, 2023

CCSP ISC2 - PAVED PATH FOR EXAM

EXAM Tips   ( Document WIP ) 

Revision Before the Exam 

Take a lot of Practice questions/Exams

Use the process of Elimination to get rid of  wrong Answers 


Domain 1 : Cloud Concepts, Architecture and Design

The CIA triad is the foundation of information security

Integrity, Confidentiality, Availability

Confidentiality entails limiting access to data to authorized users and systems 

Privacy topic focuses on the confidentiality of personal data 

Integrity : Checksums help you validate the integrity of data

Availability is a Major consideration for cloud systems

Threat : Anything capable of intentionally or accidentally compromising on asset security 

Vulnerability : weakness or gap existing within a system 

Risk Management : Deals with identifying threats and vulnerabilities 

Risk : It is the intersection of threat and vulnerability that defines the likelihood of a vulnerability being exploited

Risk = Threat X Vulnerability 

Access Control : Identification, Authentication and Authorization

MFA ( Multi Factor Authentication ) or 2FA 

The idea here s to require more than one form of authentication to reduce the risk of granting access to someone impersonating someone else 

- something you know e.g. password

- something you have e.g.smart cards 

- something you are e.g. fingerprints 

Encryption can either be symmetric-key or Asymmetric-key

Symmetric key Encryption : (referred to as secret-key encryption) uses the same key ( called secret key ) for both encryption and decryption. Symmetric-key encryption is simple, fast and relatively cheap. symmetric key fast, secure transfer needed. same key for both encryption and decryption

Asymmetric-key Encryption : More commonly known as public-key encryption, operates by using two keys - one public and one private. Asymmetric two keys, slower, No Secure transfer 

Business Continuity Plan : The goal is to allow the ability to access important systems and data until the crisis is resolved

BCP : Focus is on making business operational 

DR : Focus on activities like recovery off-site backups 

Recovery Point Objective (RPO) : The maximum amount of data loss that's tolerable to your organization

Recovery Time Objective (RTO) : The amount of time within which business process must be restored in order to avoid significant consequences associated with the disaster

Business Continuity : Broadly focuses on the procedures and systems you have in place to keep a business up and running during and after a disaster 

Every incident starts as an event. Every event is NOT necessarily an incident

Incident Response LifeCycle : Preparation, Detection, Containment, Eradication, Recovery, Post-Morterm

Chain of Custody : To maintain chain of Custody, you must preserve evidence from the time it is collected to the time it is presented in court 

Table Top Exercise : Security incident preparedness activity, taking participants through the process of dealing with a simulated incident scenario and providing hands-on, then highlight flaws in incident response planing. 

SIEM : Tool can help aggregate different log sources and provide more intelligent data for your analysis

Eradication : Remove the threat from your systems. Eradication involves eliminating any components of the incident that remains 

Defense-in-Depth : Applying multiple distinct layers of security technologies and strategies for greater overall protection

Reversibility : Capability for a cloud service customer to retrieve their cloud service customer data and for the cloud service provider to delete this data after a specified period or upon request

Cloud Computing Roles : 

Cloud auditor : A cloud service partner who is responsible for conducting an audit of the use of cloud services. An audit for general security hygiene but is often for legal or compliance purposes 

Cloud Service Broker : A cloud service partner who negotiates relationships between  CSP and CSC 

Cloud Service partner : A person or group that supports the provision, use or other activities of the cloud service provider, the cloud service customer or both

Cloud Computing Characteristics 

on-demand self-service

Broad Network Access

Resource Pooling

Rapid Elasticity 

Measure service 

Private Cloud : Private Cloud is for single organization 

Community Cloud : Community Clouds as private clouds that are extended to a limited set of related organizations

Cloud Migration : Moving to the cloud is not only a technology decision, but also a business decision

Interoperability : The ability for two or more systems to seamlessly work together by sharing information. Interoperability ensures that cloud services can understand standard data formats, APIs, configurations and identification and authorization Mechanisms. 

Portability : The service provider , underlying platform, operating system, API structure, format of data, do not present obstacles to seamlessly moving services from one solution to another. 

vendor lock-in occurs when any of these factors prevents a customer from moving from one cloud provider to another. Portability ensures that an organization s able to easily move between cloud providers

Governance : Governance relates to the polices, procedures, roles and responsibilities in place to ensure security, privacy, resiliency and performance 

Regulatory Compliance : Satisfying compliance is a shared responsibility

AI


Domain 2 : Cloud Data Security

Domain 3 : Cloud Platform and Infrastructure Security

Domain 4 : Cloud Application Security

Domain 5 : Cloud Security Operations

Domain 6 : Legal, Risk and Compliance 



Custom/Written Notes 

Shadow IT:  The use of IT related hardware or software by a department or individual without the knowledge of the IT or security group within the organization 

Data Owner Ultimately responsible for data classification

Contracts are so important - Portability, Interoperability, SLA, Shared Responsibility


Storage Type: 

a) Volume, Blob(api) - IaaS

b) structure / unstructure - PaaS 

c) CDN/RIDB - SaaS 


ISO/27001 - Provides the ISMS Specification

ISO 27002 - Offer Guidance and Recommendation


Highly Regulated Compliance Industries 

- Healthcare

- Financial Services 

- Government Organizations


Example : FedRAMP/NIST requires CSPs to implement FIPS 140-2 validated encryption Modules


Data Owner / Data Controller

Data Custodian / Data Processor 


No Matter who processes the data, the data owner is always responsible for specifying how the data is used, processed and secured. 

In GDPR terminology - Data Controller & Data Processor 

Risk Appetite or Risk tolerance both refers the same. 

Risk Framework ISO 31000

NIST RMF Risk Management Framework NIST 800-37

Supply Chain Risk Management ISO/IEC 27036 & NIST 800-161

CMMC - Cyber Security Maturity Model Certification (CMMC)

CUI - Controller Unclassified Information 

CSUSAD - create, store , use, share, Archive, destroy

DLP required in SHARE and USE Stage

DRM enables persistent security beyonds its Boundary on the Data level

DLP/DRM - Most Efficient security in share/use stage

DRM applies to the distribution side to protect intellectual more efficient then DLP

During Creation Phase we classify the Data 

During the Creation phase we modify the data 

Governance : set of operations

CASB : Cloud Access Security Broker is an on-premises or cloud Based security policy enforcement point between cloud service consumer and cloud service provider 

VMI ( Virtual Machine Introspection ) - technique to monitor runtime of VM. can use be used for Forensic Investigation 

Virtualization - Provides the abstraction needed for resource pools 

Transparent Encryption - most effective way to encrypt the row & column WITHOUT IMPACTING the functionality

Structured Database : That is specific to row and column, want to strike a balance between functionality and user privacy 

Instance based encryption - Entire Volume , File Level Encryption - Object storage 

Application Level Encryption 

- Data is encrypted before reaching out to the database 

- Concern : Challenging to perform indexing, searches and meta-data collection 

- Application level encryption it protects against various risks, including hacked administrative accounts 

Cloud Service Partner 

- Cloud auditor - evaluates security controls privacy impact, performance as per ISO 17789

- Auditor is sub-role of cloud service partner 

Cloud service Operational Manager - Performing all operational processes and procedures of the cloud service provider, ensuring meets operational target

Cloud Service Business Manager - Cloud Provider 

Cloud Broker - CSC <----> CSP. Setup legal agreement activity service agreement 

ISO/IEC 17789 CCRA ( Cloud Computing Reference Architecture ) 

Multi-layer functions 

- user layer

- Access layer

- Service layer

- Resource layer

Resiliency - Continuous Operations 

NIST 800-37 provide guidelines for applying the Risk Management Framework to federal information systems to include conducting the activities of security categorization, security control selection and implementation, security control assessment, information system authorization, and security

Next Generation Firewall ( Read Data ) , user privacy concern 

Breach Notification : Customers should contractually require data breach notification from their providers in unambiguous language 

Containment Mechanism - can be mitigated due to "velocity of attack"

Micro segmentation via SDN etc. Micro segmentation - Most effective containment mechanisms 

Basic Storage Level - Encryption is initiated by cloud provider 

cloud customer initiate the following 

- File level Encryption 

- Application Level Encryption

- Transparent Encryption - Encryption solution in the database

Transparent Encryption - Refers to a method of encrypting data at rest, where the data encryption and decryption process is transparent to the user and the application 

Volume Storage Encryption - Effective encryption solution for instance images and unauthorized porting of VM images

Application Encryption  - Concern 

Challenging to perform indexing, searches and meta-data collection

Application level encryption is EXTERNAL to the Database


Application - Application level encryption

Database     - Transparent Encryption

File             - File Encryption

Disk            - Volume Encryption 


SOC1 - Internal Control of financial 

SOC2 - Detailed Evaluation

SOC3 - Generic Report for public 


SOC2  - Detailed Evaluation based on 5 Trust principles 

- Security

- Privacy 

- Availability 

- Confidentiality 

- process Integrity 


NACLs are stateless and do not track the state of a connection, while Security Groups are stateful and allow traffic based on the response to previous traffic. Default rule: NACLs have a default rule that denies all traffic, while Security Groups have a default rule that allows all traffic.


Cloud Provider HVAC System - SOC 2 report can help a cloud security consultant validate adequate control 

ISO 22301 - International Standard for Business Continuity Management ( BCM ) 


Data exfiltration definition is the theft or unauthorized removal or movement of any data from a device. Data exfiltration typically involves a cyber criminal stealing data from personal or corporate devices, such as computers and mobile phones, through various cyberattack methods.


SaaS - CSP Manages updates, encryption engine, secure storage, auto backup and logging


Multi-tenant is Biggest Concern for "E-DISCOVERY" 

Data Privacy - Must Encrypt all personal data at rest according to GDPR 

Under GDPR - Primary Obligation while sharing the customer Information. It must solicit informed consent through a notice on its website 

GDPR Penalties - GDPR sets a maximum fine of 20 Million or 4% for annual global turnover whichever is greater for infringements 

In case of Security Breach - GDPR 72 hours notification to the customers 

GLBA - Privacy and Security Practice in USA 

The Gramm-Leach-Bliley Act requires financial institutions – companies that offer consumers financial products or services like loans, financial or investment advice, or insurance – to explain their information-sharing practices to their customers and to safeguard sensitive data.


PIPEDA - Canada 

The Personal Information Protection and Electronic Documents Act (PIPEDA) is the federal privacy law for private-sector organizations. It sets out the ground rules for how businesses must handle personal information in the course of their commercial activity


COPPA USA - Children under age 13, online privacy protection

The Children's Online Privacy Protection Act of 1998 (COPPA) is a federal law that imposes specific requirements on operators of websites and online services to protect the privacy of children under 13


CCPA - privacy Regulations for califonia consumers 

CCPA - Allows any califonia consumers to demand to see all the information a company has saved on them. 


Health Care - privacy Protection with reference to "COVERED ENTITY"  - HIPAA 


Privacy Framework - Primary objective  ( Address Governance ) 

Privacy Framework provides a common language to communicate privacy requirements with entities within the data processing eco-system 


For new Business reviewing SOC reports of service provider -  SOC2 Type 2 ( recommended ) 

Type 1  - Point in time design of control 

Type 2 - period of time evaluate 


Thin line difference between type 1 and Type 2 - SOC Report 

Type 1 - Control Design 

Type 2 - Control Effectiveness 

SOC3 report can publish (public) on the website for users to gain trust 


NESA - Middle East 

NIST - USA standard 


SOC1 - Audit report will be useful to check how well the company keeps up their books for accounts


Trusted Criteria of the SOC2 Report

Privacy, confidentiality, security, availability, processing integrity


SOC2 type2 - description of tests performed, controls are suitably designed controls operated effectively

SOC1 - Financial/ custodial services, payroll processing, meeting SOX Compliance requirement financial statements

SOC2 - Information technology personal will be interested 


RPO - Acceptable data loss. Related to backup policies & procedures for electronic data and hardy copy

RTO - Time to restore the service 

MTD - Convey to the customer, No business impact ( Maximum tolerable downtime ) 

MTDL - RPO ( maximum to reliable data loss ) 

WRT - Work Recovery Time. The maximum tolerable amount of time it takes to verify systems and data protection related to verification & checking 


BIA (Business Impact Analysis ) - Recovery Priority 

Monetary Priority, Business Priority , function Priority 

BIA Classify all organizational functions & technology on "Recovery Priority" 


BIA - Key process that is used to establish continuity requirement and prioritize business services importance to meeting an organization mission

Results can help to determine the type and frequency of backup, the need for redundancy or mirroring of data, they type of alternate site needed to meet system recovery objective

Key foundational process established to provide resilience requirements to the primary process 


RISK Assessment - Key foundational process established to provide security requirements to the planning process. 


MTD - Maximum toreable downtime 

The official is willing to accept for a mission/business process outage or disruption and includes all impact considerations.

Ultimate Goal of RTO - RTO must ensure that the MTD is not exceeded 


BCP - helps an organization continue to operate even if disaster occurs

Testing of the plan is last step of BCP 

The BIA is part of the BCP and BIA identifies CRITICAL systems & services 

Last step of BIA - developing recovery priorities 

SSO Single Sign on - Authentication system that allows a user to log ini with a single ID and password to access independent software systems 

Federation - Two or More Trust Domains to allow users of these trust domains to access application & services using the same digital identity 

SAML - Security Assertion Markup Language 

- Its an internet SSO

- XML based framework for creating and exchanging authentication and authorization

SAML Authority is configured on the identity provider side 

IDP generates the SAML Assertion

SAML Assertion - Attestation & XML ( auth & authz info ) 

SOAP protocol Building block for SAML 

- assertion 

- SAML protocol 

- Binding 

SAML has three roles

- Identity provider

- Service provider

- Principal - ( user ) 

SAML Assertion Generated by IDP 

SAML Assertion consumed by SP ( Service provider ) 

ON the Base of SAML Assertion, SP does the access control to the principal (User )

IDP  sign the Assertion with private key ( digital signature ), SP - Maintain the public key of the IDP 

Time stamp prevent replay attack 

SAML - profiles, Bindings, Protocol, Assertion

SAML - One IDP may provide SAML assertion to many SPs

Assertion shall be cryptographically signed by the issuer (IDP) - The relying party shall validate the digital signature

Role in SAML

- Identity provider, Service provider, Principal 

IDP Requests - username & Password. Before delivering the identity assertion to the SP


OAuth 2.0 - Authorization

OpenID Connect - Authentication 

Both are consumer based service Pier - pier 


SAML - Authentication/Authorization & Scalable solution. 

SAML Response carry by SOAP API 

Recommended to use TLS with NONCE 

Prevents a "man-in-the-middle" attack that might grab assertion to be illicitly "replayed: at a later data

TLS with NONSE - A Nonse is always sent by the client to server and vice versa". The NONSE consists of a random number and unix time stamp

SAML - is scalable & secure solution that allows federated systems with different identity management system to interact through simplified sign-on authentication and authorization exchanges


Change Management

Maintain system integrity throughout the organization in dynamic environment through change control management. CM is most effective in preventing the introduction of a code modification that may reduce. 

CM proactively addressing the diversified risk in the process. CM is adequate way to incorporate risk management practices into an organization. 


Configuration Management 

Assist in recording baselines for software releases. Primary purpose of configuration management maintaining the integrity of the product or system is being managed throughout its lifecycle within the org. Configuration management ensures - Integrity - Baseline 

SDN 

SDN has enabled the separation of network functions from dedicated hardware, the nature of the network has transformed. Abstract the hardware 

SDN Primary Issues/Concerns - Organization need to consider that vendor interoperability between transport, controller and application domains has NOT been established

Application Layer - SDN are programs that explicitly directly and programatically communicate their network requirements

Patch Management - Most Effective practice we can used to verify the patch authenticity - verify via a code sign or code signature 

Code Signing - Code Signing is the process of digitally signing executables and scripts to confirm the software author or guarantee that the code has NOT been altered 

Most Effective practice we need to consider prior to deploying updates to production server - make certain that a full system backup 

Cloud Bursting - Avoid add permanent resources to maintain existing processing capacity but use cloud bursting to automatically grow resources without investing in infrastructure

SaaS - has less ownership and control over system during forensic 

IaaS - has highest ownership and control over system 

Cloud service Business manager - responsible for meeting the business goal in cost efficient manner 

Cloud service integrator - onprem - cloud 

cloud service administrator - ensures the smooth operation of the customer services and that those cloud services are running well. 

Cloud Service Broker - Responsible for negotiating relationship between cloud service customers and cloud service providers, along with assess market place and setup legal agreement

Inter-cloud provider (CASB) Responsible for the intermediation aggregation, arbitrage, peering or federation of peer cloud service providers 

DLP - Classification of Data 

DLP efficiently prevents the exposure of sensitive data in a cloud environment. DLP works on classification of data

Datacenter uptime institute 

TIER-1 : Basic or Dedicated Infra 99.671% uptime 28.8hrs 

TIER-2 : Redundant Infra Potential downtime 1.36hrs , 99.741% uptime

TIER-3 : Fully Fault tolerant or concurrently maintainable 99.982% uptime, Potential downtime 1.36Hrs 

TIER-4 : Full fault tolerant 99.995% uptime

               Potential downtime .44 hours , very Critical Applications

Vendor Lock-in : is a situation where you depend on a single cloud provider for a specific service 

Cloud Migration : 

Adequate Processes to assess risks and provision adequate security controls to mitigate them

Most important foundational security controls required in multi-tenant network 

logical segregation and isolation of network traffic 

Before planning a transition to cloud and create information policies and practices extended to the cloud

Determine your governance requirements and contractual and security controls 


CASB Four Pillars 

- Visibility 

- Compliance

- Data Security 

- Threat protection


IaC - Enables easier resource tracking

Data privacy - can be achieved by data encryption at rest and in transit 

Intrusion Detection System (IDS ) Security measure can help detect insider threats to detect and prevent 

PCI/DSS - must ensure compliance - Network segregatoin

Hybrid Cloud Model - key challenge - network latency 

PII data protection  - Data encryption at rest and in transit 

Primary Consideration for maintaining data integrity in cloud - data replication

Data Loss Prevention (DLP ) can prevent data breaches due to human Errors 

Data Classification is a key consideration for security financial data in the cloud 

Mobile Device management ( MDM ) is the most critical security control to manage BYOD in a cloud environment 

use end-to-end encryption for users frequently share sensitive files externally 

Uniform Access Control - Critical application security in a Multi-cloud approach. 

Cloud based health care systems essential for maintaining compliance "data encryption" at rest and in transit

Cloud based Chat application Proper user access controls 

Secure coding practices - it vital for application security measure for protecting customer data in the CRM 

SLAs - Critical security consideration when working with Vendors 

PaaS - Secure application code is essential security consideration in this context 

Secure Coding Practice - in Critical security consideration for mobile application development 




Wednesday, August 28, 2019

How to Choose your platform
























IaaS, CaaS, PaaS Decision Support Matrix

Offering
PCF
Kubernetes
vCloud (VMs')Traditional
Type of Service
Application PaaS
Container PaaS (CaaS)
IaaS Self-ServiceIaaS Traditional Provisioning
What
Cloud Foundry is an open source cloud platform as a service on which developers can build, deploy, run and scale applications on public and private cloud models.
High-level abstraction of cloud-native application development. Give PCF an app, platform does rest (from tracking dependencies, application building, network, routing etc.)
Kubernetes is a container orchestrator. With container orchestration tools, the user creates and maintains the container themselves. For many teams, having this flexibility and control over the application is preferred (non-opinionated/non-restrictive).

vCloud Automation enables IT Automation through the creation and management of personalized infrastructure, application and custom IT services (XaaS).

Addon’s/Benefits
Automated routing
Auto scaling
CF CLI
Load balancer
DNS
Logging & metrics aggregator
Auto-scaling
Kubectl (CLI) / Dashboard
DNS
Load balancer
Logging & Metrics aggregator
Stateful application Support
Persistent Storage
HTTPS / TCP connectivity
Flexible architecture (with support for 3rd party plugins)
Self Service Org/Team management
The goal is to accelerate application deployment and delivery, dramatically reducing IT costs through policy-enabled workflow automation.
Enable Cloud-like functionality for applications that are not designed as cloud-native apps
Full Self-Service Portal and APIs for provisioning and resource management
Self-Service scaling and option for application team controlled auto-scaling
On-Demand VMs
Physical Servers
Virtual Appliances
Specialized Virtual Machines
Optional Services
Bring your own containers: Supported, restrictive & opinionated
Bring your own containers: Supported, flexibility for customizations and non-opinionated
Application specific catalog items
Complete Environment Provisioning and Blueprinting
APIs for Delivering Infrastructure as Code
Highly customized servers
Recommended use cases
PCF offers higher level of abstraction is ideal for new applications, cloud-native apps and apps that run fine out of a build pack. For teams working with short lifecycles and frequent releases, PCF offers an excellent product.
Kubernetes is lower-level abstraction of PaaS, meaning provides greater flexibility for customizations, build your own containers but will mean more work for Engineering teams.
Legacy applications can still take advantage of many features available in Kubernetes.
Non cloud-native applications
Large SQLServer and Oracle Database Servers
Large Cassandra, Gemfire and Mongo Databases
Downside/Pitfalls
Restrictive and opinionated (when it comes to customization)Non-restrictive, flexibility for customization. Some operational learning required.
Most expensive
Longest Lead Times
OS PatchingIf OS needs to be upgraded, current instance is destroyed and a new instance is created with updated codeIf OS needs to be upgraded, current instance is destroyed and a new instance is created with updated codeApplication team responsible for OS PatchingOS Support team assists in patching
Application UpgradesApplication owner responsibleApplication owner responsibleApplication owner responsibleApplication owner responsible

Tuesday, October 30, 2018

AWS EC2 LVM Expansion !



LVM Expansion on AWS EC2 Instance


SCENARIO #1

In this scenario, the EC2 instances has EBS Storage 400G attached. But only 50G is being use by LVM for different LVM partitions. We are extending the Partition sizes to bigger sizes. 
Please see the below steps 


If you look at the below screenshot, It has two disks attached. 
1. Root disk - 400G
2. EBS volume - 400G
    
Which got multiple partitions but only 50G is being used from 400G. so we are extending the LVM partitions to bigger size. Especially /home, /tmp and /var which are more important to have a good available space. since it will fill it very fast with data and log file. which might cause the OS to freeze so forth.
#lsblk  - It will list out all the block devices attached to the instance



If you look at the below screenshot - it has following filesystems mounted. Please look at the /dev/mapper* these are coming from EBS Volume as LVM partitions. so we will be expanding these partitions to be of bigger size. 



Here are the steps: 
Since LVM Works on 3 different Things 
PV - Physical volume 
VG - Volume Group
LV - LVM Volume 

Before Extending the LVM partitions, we need to make sure the "vgdisplay" show enough available/free space, so that we can do the lvextend. if vgdisplay shows there is no available/free space, then we might have to increase the size of "volume group" by adding Physical Volumes (PV) or pvresize. pvresize facilitate if any free space available on the EBS disk, it will add it to the volume group. 


1. pvresize --setphysicalvolumesize 100G /dev/xvdb
     or
    pvresize /dev/xvdb 
2.pvdisplay 
3. vgextend RootVG /dev/xvdb
   note: Here in my case Volume Group name is "RootVG"
4. vgdisplay 
   note: you should see available blocks 
5. lvextend -L+20G /dev/RootVG/varlv
6. xfs_growfs /var

It should expand the /var partition by 20G more. You can confirm by using df -h command. same fashion you can continue which ever partitions you would like to expand.


SCENARIO #2 

Let say your current EBS volume there is not enough free Space but you would like to expand your LVM partitions to bigger size. In this case we can consider following cases

1. Resizing our Current EBS Volume to bigger size by creating snapshot 
a. stop an EC2 instance to which volume is attached
b. right-click the volume and choose create snapshot
c. right-click the volume and choose detach volume
d. Go to the snapshots section and right click the snapshot. choose create volume and then specify new volume size
Note: Make sure that new volume and your ec2 instance are within the same "Availability Zones"
e. Go back to the volumes, right click your volumes. choose attach volumes and click the EC2 instance you wish to attach the volume
Then you can follow the  "pvresize" and vgextend and lvextend.

2. Let's say you don't want to resize the current EBS volume, then you can create a whole new EBS volume and attach it to the Ec2 instance
New EBS volume to EC2 linux instance
a. Go over the Ec2 -> volumes and create a new volume of your preferred size and type
b. select the created volume, right-click and select the "attach-volume" option
c. select the instance from the instance text box and specify the device name
d. now login to the Ec2 instance and list the available disks
#lsblk
You would be able to see the new disk.

now using fdisk /dev/device name you can create a LVM partition then you can do
#pvcreate /dev/device_name
#vgextend vol_group pv_device
#vgdisplay
#lvextend
#lvdisplay 



Thursday, October 11, 2018

Linux Helpful One Liners !




find / sed / search / replace 


find /opt/test/ -type f -exec sed -i -e 's/hello/gyani/g' {} \;



Wednesday, March 21, 2018

Using DNSMASQ to Containers DNS Resolution

-->
-->
Using DNSMASQ to Containers DNS Resolution

All these experiments have been done on Centos:7, this will elaborate the Containers running on the Docker Host will have DNS resolution with DNSMASQ running on Docker Host

It’s a lightweight and straightforward solution for service discovery which doesn’t require running additional containers

First, we need to install dnsmasq on Docker Host
yum install dnsmasq.x86_64



Create a new Docker-related config file in /etc/dnsmasq.d:
vi /etc/dnsmasq.d/docker-dns
Paste the following lines:
addn-hosts=/docker-container-hosts
interface=docker0
#bind-interfaces


Restart the Dnsmasq service
service dnsmasq restart

Now let’s determine the host IP address for the docker0 interface:
ip addr show dev docker0 | awk -F'[ /]*' '/inet /{print $3}'
Most likely it will print 172.17.0.1.

For demonstration purposes, create two synthetic Docker containers specifying the determined IP address as DNS, and also host name and a container name:
docker run -itd  --dns=172.17.0.1 --hostname=businesswork1 --name=bw1  tibco:3.0.0
docker run -itd --dns=172.17.0.1 --hostname=businesswork2 --name=bw2 tibco:3.0.0

Docker PS 
# docker ps
CONTAINER ID        IMAGE                                                   COMMAND                  CREATED             STATUS              PORTS                              NAMES
e95e45ca99e1        tibco:3.0.0                                             "/opt/tmo/docker-entr"   3 seconds ago       Up 2 seconds                                           bw2
6b4a3026c0df        tibco:3.0.0                                             "/opt/tmo/docker-entr"   10 seconds ago      Up 9 seconds                                           bw1

Now we are going to create a simple shell script for updating additional host entries based on running containers:
vi ~/update-docker-dns.sh

#!/bin/bash

# Domain name for containers
CONTAINER_DOMAIN=containers.demo.com

# Path to the addn-hosts file
CONTAINER_HOSTS=/docker-container-hosts

echo "# Auto-generated by $0" > $CONTAINER_HOSTS
for CID in `docker ps -q`; do
    IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CID`
    NAME=`docker inspect --format '{{ .Config.Hostname }}' $CID`
    echo "$IP  $NAME.$CONTAINER_DOMAIN" >> $CONTAINER_HOSTS
done

# Ask dnsmasq to reload addn-hosts
pkill -x -HUP dnsmasq


Make the script executable:
chmod +x ~/update-docker-dns.sh

And run it 
~/update-docker-dns.sh

Let’s check the contents of the generated hosts file:

cat /docker-container-hosts
[root@sdnrhel00561 ~]# cat /docker-container-hosts 
# Auto-generated by ./update-docker-dns.sh
172.17.0.4  businesswork2.containers.demo.com
172.17.0.3  businesswork1.containers.demo.com

Check that BW2 container is accessible from BW1:
# docker exec -it bw1 /bin/bash
# ping businesswork1.containers.demo.com
PING businesswork1.containers.demo.com (172.17.0.3) 56(84) bytes of data.
64 bytes from businesswork1 (172.17.0.3): icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from businesswork1 (172.17.0.3): icmp_seq=2 ttl=64 time=0.043 ms
^C
--- businesswork1.containers.demo.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.034/0.038/0.043/0.007 ms

Just do not forget to provide correct --dns, --name and --hostname flags in the docker run command line! And Run the Script. 
The script will update the static DNS Container Hostnames when you run it.