EMB ERJ 145 ER/LR
Flight Crew Multiengine; Flight Crew Instrument; Flight Crew Air Transport Pilot (ATP)
Aircraft Equipment Problem Critical; Deviation / Discrepancy - Procedural Published Material / Policy; Inflight Event / Encounter Weather / Turbulence
Air Traffic Control Provided Assistance; Air Traffic Control Issued New Clearance; Flight Crew Requested ATC Assistance / Clarification; Flight Crew Diverted; Flight Crew Landed As Precaution; Flight Crew Landed in Emergency Condition; Flight Crew Overcame Equipment Problem; Flight Crew Took Evasive Action; General Flight Cancelled / Delayed; General Maintenance Action
Aircraft
On the climb out from ZZZ on the SID we got direct ZZZZZ. On the climb in the clouds the ice protection came on normally. Within a couple minutes; the anti icing fail warning came on. There after the Bleed 2 Valve Fail also came on. We pulled out the QRH and ran the checklist for the events. Sometime above 15;000 ft. and while still running the QRH; the cabin pressure was being lost at around FL200; the oxygen masks deployed in the back. We also put our oxygen masks on in the cockpit. Notified ATC that moment [received priority handling] for the nearest airport due to loss of cabin pressure. ATC directed the flight to ZZZ1 being the closet. We diverted to ZZZ1. Ran all checklist for descent and landing to ZZZ1. Landed safe and taxied to the gate. Completed the after landing and parking checklist upon arrival. Passengers deplaned at the gate. EICAS alerted. Anti-icing; Bleed 2 Valve Fail and loss of cabin pressure.Diverted Due to the nature of the events; ZZZ might have been a better return option.
EMB 145 Pilot reported loss of engine bleed air caused loss of cabin pressure and anti ice protection; resulting in an emergency descent and a diversion.